Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.001371, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.59 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2187, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6897/0.9084, allocations: 249 MB / 1.296 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.9272, allocations: 22.28 MB / 1.318 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.9286, allocations: 53.94 kB / 1.318 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.9306, allocations: 0.9743 MB / 1.319 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.9333, allocations: 1.467 MB / 1.32 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.9371, allocations: 1.92 MB / 1.322 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.9394, allocations: 2.687 MB / 1.325 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.9408, allocations: 1.315 MB / 1.326 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.9427, allocations: 1.34 MB / 1.327 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007783/0.9435, allocations: 0.9141 MB / 1.328 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.9437, allocations: 108.8 kB / 1.328 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.9461, allocations: 1.67 MB / 1.33 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.9464, allocations: 377.2 kB / 1.33 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.9469, allocations: 0.6391 MB / 1.331 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.9487, allocations: 2.231 MB / 1.333 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.9488, allocations: 0 / 1.333 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9488, allocations: 0 / 1.333 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.9488, allocations: 1.031 kB / 1.333 GB, free: 0.8477 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001489/0.9503, allocations: 1.473 MB / 1.335 GB, free: 16.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.9503, allocations: 11.78 kB / 1.335 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.9504, allocations: 137.7 kB / 1.335 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008941/0.9513, allocations: 238 kB / 1.335 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/0.9523, allocations: 0.8556 MB / 1.336 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.9524, allocations: 184.2 kB / 1.336 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.9525, allocations: 89.78 kB / 1.336 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.9536, allocations: 0.9415 MB / 1.337 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.9536, allocations: 1.125 kB / 1.337 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.9537, allocations: 36.03 kB / 1.337 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.9537, allocations: 22.44 kB / 1.337 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.9546, allocations: 0.6291 MB / 1.338 GB, free: 15.32 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.9581, allocations: 4.464 MB / 1.342 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.9584, allocations: 191.2 kB / 1.342 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.9585, allocations: 144.4 kB / 1.342 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008427/0.9594, allocations: 1.02 MB / 1.343 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.9594, allocations: 39.06 kB / 1.343 GB, free: 11.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.9594, allocations: 3.938 kB / 1.343 GB, free: 11.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0008011/0.9602, allocations: 472.9 kB / 1.344 GB, free: 11.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.9603, allocations: 57.34 kB / 1.344 GB, free: 11.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9613, allocations: 1.106 MB / 1.345 GB, free: 11.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.9613, allocations: 33.77 kB / 1.345 GB, free: 11.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.9616, allocations: 0.5076 MB / 1.345 GB, free: 10.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.9617, allocations: 84.81 kB / 1.346 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.9618, allocations: 105.3 kB / 1.346 GB, free: 10.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9619, allocations: 320.4 kB / 1.346 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.9621, allocations: 128.4 kB / 1.346 GB, free: 10.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.9625, allocations: 385.1 kB / 1.346 GB, free: 10.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/0.9629, allocations: 468.1 kB / 1.347 GB, free: 9.922 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9629, allocations: 5.156 kB / 1.347 GB, free: 9.922 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007537/0.9637, allocations: 0.5312 MB / 1.347 GB, free: 9.836 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9637, allocations: 10.03 kB / 1.347 GB, free: 9.836 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.9637, allocations: 8.688 kB / 1.347 GB, free: 9.836 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9638, allocations: 10.78 kB / 1.347 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.9641, allocations: 90.38 kB / 1.347 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.9641, allocations: 15.56 kB / 1.348 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.9646, allocations: 91.25 kB / 1.348 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.9647, allocations: 28.23 kB / 1.348 GB, free: 9.781 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.965, allocations: 284.8 kB / 1.348 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.9651, allocations: 109.2 kB / 1.348 GB, free: 9.605 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.9656, allocations: 432.2 kB / 1.348 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.9657, allocations: 2.438 kB / 1.348 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9657, allocations: 0 / 1.348 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9657, allocations: 1.359 kB / 1.348 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.9673, allocations: 1.547 MB / 1.35 GB, free: 9.062 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.9673, allocations: 6.438 kB / 1.35 GB, free: 9.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.9675, allocations: 38.45 kB / 1.35 GB, free: 9.062 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.9675, allocations: 10.44 kB / 1.35 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.9675, allocations: 12.44 kB / 1.35 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.9675, allocations: 9.328 kB / 1.35 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.9675, allocations: 8.25 kB / 1.35 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.968, allocations: 0.5745 MB / 1.351 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.9683, allocations: 249.4 kB / 1.351 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.9684, allocations: 9.75 kB / 1.351 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.9688, allocations: 16.16 kB / 1.351 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.9688, allocations: 32.19 kB / 1.351 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.9689, allocations: 12.48 kB / 1.351 GB, free: 8.543 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007413/0.9696, allocations: 0.7793 MB / 1.352 GB, free: 8.434 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9696, allocations: 0 / 1.352 GB, free: 8.434 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006723/0.9703, allocations: 279.5 kB / 1.352 GB, free: 8.402 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.9714, allocations: 1.343 MB / 1.353 GB, free: 7.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.9719, allocations: 346.5 kB / 1.354 GB, free: 7.469 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9719, allocations: 0 / 1.354 GB, free: 7.469 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.9721, allocations: 141.9 kB / 1.354 GB, free: 7.469 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.9741, allocations: 0.5211 MB / 1.354 GB, free: 7.371 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00765/0.9818, allocations: 7.922 MB / 1.362 GB, free: 3.914 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.9823, allocations: 1.062 MB / 1.363 GB, free: 3.203 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006497/0.983, allocations: 199.4 kB / 1.363 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.9833, allocations: 364.7 kB / 1.363 GB, free: 3.148 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.9833, allocations: 0 / 1.363 GB, free: 3.148 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.238/1.221, allocations: 27.77 MB / 1.391 GB, free: 6.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.914, allocations: 5.969 kB / 1.391 GB, free: 6.969 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches