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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 69.77 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3497, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9848/1.335, allocations: 246.7 MB / 1.293 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02884/1.363, allocations: 22.27 MB / 1.315 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/1.366, allocations: 50.44 kB / 1.315 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003335/1.37, allocations: 0.7966 MB / 1.316 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/1.375, allocations: 1.379 MB / 1.317 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005991/1.381, allocations: 1.771 MB / 1.319 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006025/1.387, allocations: 3.521 MB / 1.322 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/1.389, allocations: 1.152 MB / 1.323 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/1.393, allocations: 1.203 MB / 1.324 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/1.395, allocations: 0.932 MB / 1.325 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/1.395, allocations: 70.16 kB / 1.325 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004464/1.399, allocations: 1.903 MB / 1.327 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004638/1.4, allocations: 342.1 kB / 1.328 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008555/1.401, allocations: 0.5901 MB / 1.328 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004/1.405, allocations: 2.304 MB / 1.33 GB, free: 500 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.405, allocations: 0 / 1.33 GB, free: 500 kB / 0.9981 GB Notification: Performance of FrontEnd: time 9.62e-07/1.405, allocations: 0 / 1.33 GB, free: 500 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.171e-05/1.405, allocations: 4 kB / 1.33 GB, free: 496 kB / 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.002362/1.407, allocations: 1.471 MB / 1.332 GB, free: 15.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.407, allocations: 10.16 kB / 1.332 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/1.408, allocations: 234.7 kB / 1.332 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/1.41, allocations: 0.8477 MB / 1.333 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/1.41, allocations: 186.4 kB / 1.333 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/1.41, allocations: 88.53 kB / 1.333 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/1.411, allocations: 0.9309 MB / 1.334 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/1.411, allocations: 0 / 1.334 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-05/1.411, allocations: 40.75 kB / 1.334 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/1.411, allocations: 24.92 kB / 1.334 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/1.413, allocations: 0.6289 MB / 1.335 GB, free: 15.01 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.00455/1.417, allocations: 4.439 MB / 1.339 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/1.417, allocations: 194.8 kB / 1.339 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/1.418, allocations: 148.9 kB / 1.339 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.419, allocations: 1.026 MB / 1.34 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.419, allocations: 35.31 kB / 1.34 GB, free: 11.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.515e-06/1.419, allocations: 0 / 1.34 GB, free: 11.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001045/1.42, allocations: 474.2 kB / 1.341 GB, free: 10.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/1.42, allocations: 57.47 kB / 1.341 GB, free: 10.87 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/1.421, allocations: 1.111 MB / 1.342 GB, free: 10.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/1.421, allocations: 31.42 kB / 1.342 GB, free: 10.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/1.422, allocations: 0.5042 MB / 1.343 GB, free: 10.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/1.422, allocations: 85.27 kB / 1.343 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.422, allocations: 98.77 kB / 1.343 GB, free: 10.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.422, allocations: 324.3 kB / 1.343 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/1.422, allocations: 130.5 kB / 1.343 GB, free: 10.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/1.423, allocations: 383.2 kB / 1.344 GB, free: 9.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/1.423, allocations: 472.5 kB / 1.344 GB, free: 9.594 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.423, allocations: 7.406 kB / 1.344 GB, free: 9.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008881/1.424, allocations: 0.539 MB / 1.344 GB, free: 9.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.424, allocations: 8.156 kB / 1.345 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.424, allocations: 5.406 kB / 1.345 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.424, allocations: 13.53 kB / 1.345 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/1.425, allocations: 86.69 kB / 1.345 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/1.425, allocations: 21.23 kB / 1.345 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/1.426, allocations: 121.4 kB / 1.345 GB, free: 9.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/1.426, allocations: 27.36 kB / 1.345 GB, free: 9.441 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.0004394/1.426, allocations: 291.4 kB / 1.345 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/1.426, allocations: 106.1 kB / 1.345 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/1.427, allocations: 422 kB / 1.346 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.427, allocations: 7.188 kB / 1.346 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.427, allocations: 3.938 kB / 1.346 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.427, allocations: 5.594 kB / 1.346 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/1.429, allocations: 1.542 MB / 1.347 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.429, allocations: 2.094 kB / 1.347 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/1.43, allocations: 43.7 kB / 1.347 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.43, allocations: 8.812 kB / 1.347 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/1.43, allocations: 12.7 kB / 1.347 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/1.43, allocations: 12.45 kB / 1.347 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.43, allocations: 7.875 kB / 1.347 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/1.43, allocations: 0.5691 MB / 1.348 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/1.431, allocations: 241.6 kB / 1.348 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.431, allocations: 15.14 kB / 1.348 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/1.431, allocations: 27.19 kB / 1.348 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/1.431, allocations: 37.09 kB / 1.348 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/1.431, allocations: 14.36 kB / 1.348 GB, free: 8.195 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009823/1.432, allocations: 0.7811 MB / 1.349 GB, free: 8.086 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.432, allocations: 0 / 1.349 GB, free: 8.086 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001036/1.433, allocations: 283.7 kB / 1.349 GB, free: 8.047 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.0007051/1.434, allocations: 342.2 kB / 1.349 GB, free: 7.898 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006417/1.435, allocations: 335 kB / 1.35 GB, free: 7.891 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.435, allocations: 2.438 kB / 1.35 GB, free: 7.891 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/1.435, allocations: 139 kB / 1.35 GB, free: 7.891 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.437, allocations: 488.1 kB / 1.35 GB, free: 7.848 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/1.44, allocations: 1.91 MB / 1.352 GB, free: 6.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/1.44, allocations: 1.061 MB / 1.353 GB, free: 6.016 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008415/1.441, allocations: 196.9 kB / 1.353 GB, free: 5.973 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/1.441, allocations: 67.19 kB / 1.353 GB, free: 5.961 MB / 1.014 GB Notification: Performance of SimCode: time 8.51e-07/1.441, allocations: 0 / 1.353 GB, free: 5.961 MB / 1.014 GB Notification: Performance of Templates: time 0.03623/1.478, allocations: 17.83 MB / 1.371 GB, free: 15.68 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (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 & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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