Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001764/0.001764, allocations: 192.3 kB / 16.13 MB, free: 6.645 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7243/0.7255, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9496/1.675, allocations: 246.7 MB / 1.257 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0283/1.703, allocations: 22.29 MB / 1.279 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/1.706, allocations: 49.34 kB / 1.279 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002973/1.709, allocations: 0.7898 MB / 1.28 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004792/1.714, allocations: 1.392 MB / 1.281 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005962/1.72, allocations: 1.763 MB / 1.283 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007078/1.727, allocations: 3.532 MB / 1.287 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/1.729, allocations: 1.155 MB / 1.288 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/1.732, allocations: 1.194 MB / 1.289 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/1.733, allocations: 0.936 MB / 1.29 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/1.733, allocations: 67.25 kB / 1.29 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00383/1.737, allocations: 1.9 MB / 1.292 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003678/1.737, allocations: 332.9 kB / 1.292 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007674/1.738, allocations: 0.6032 MB / 1.293 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003232/1.741, allocations: 2.304 MB / 1.295 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.741, allocations: 1.156 kB / 1.295 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.741, allocations: 3.938 kB / 1.295 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.898e-05/1.741, allocations: 1.312 kB / 1.295 GB, free: 1.32 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.001973/1.743, allocations: 1.462 MB / 1.296 GB, free: 16.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.743, allocations: 14.09 kB / 1.296 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.744, allocations: 233.3 kB / 1.297 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.745, allocations: 0.8507 MB / 1.297 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/1.746, allocations: 188 kB / 1.298 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/1.746, allocations: 92.12 kB / 1.298 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/1.747, allocations: 0.9328 MB / 1.299 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/1.747, allocations: 0 / 1.299 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/1.747, allocations: 36 kB / 1.299 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/1.747, allocations: 22.09 kB / 1.299 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009648/1.748, allocations: 0.6353 MB / 1.299 GB, free: 15.85 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.003991/1.752, allocations: 4.443 MB / 1.304 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/1.753, allocations: 189.5 kB / 1.304 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.753, allocations: 139.9 kB / 1.304 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/1.754, allocations: 1.021 MB / 1.305 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.754, allocations: 35.73 kB / 1.305 GB, free: 11.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.944e-06/1.754, allocations: 0 / 1.305 GB, free: 11.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001001/1.755, allocations: 477.1 kB / 1.305 GB, free: 11.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.755, allocations: 53.91 kB / 1.305 GB, free: 11.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.756, allocations: 1.111 MB / 1.307 GB, free: 11.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/1.756, allocations: 34.02 kB / 1.307 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/1.757, allocations: 0.5095 MB / 1.307 GB, free: 11.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/1.757, allocations: 82.31 kB / 1.307 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/1.757, allocations: 102 kB / 1.307 GB, free: 11.28 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.757, allocations: 321.8 kB / 1.308 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.757, allocations: 131.9 kB / 1.308 GB, free: 10.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/1.758, allocations: 382.7 kB / 1.308 GB, free: 10.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/1.758, allocations: 472.2 kB / 1.308 GB, free: 10.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.758, allocations: 3.406 kB / 1.308 GB, free: 10.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008508/1.759, allocations: 0.5379 MB / 1.309 GB, free: 10.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.759, allocations: 7.469 kB / 1.309 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.759, allocations: 5.5 kB / 1.309 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.759, allocations: 10.78 kB / 1.309 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/1.759, allocations: 91.23 kB / 1.309 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/1.759, allocations: 15.16 kB / 1.309 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/1.76, allocations: 132.4 kB / 1.309 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/1.76, allocations: 28.97 kB / 1.309 GB, free: 10.29 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.0003289/1.761, allocations: 283.2 kB / 1.31 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.761, allocations: 101.8 kB / 1.31 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/1.761, allocations: 427 kB / 1.31 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.762, allocations: 2.688 kB / 1.31 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.762, allocations: 3.938 kB / 1.31 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.762, allocations: 0 / 1.31 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/1.764, allocations: 1.561 MB / 1.312 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.764, allocations: 4.375 kB / 1.312 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.764, allocations: 42.02 kB / 1.312 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/1.764, allocations: 7.375 kB / 1.312 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.764, allocations: 9.375 kB / 1.312 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/1.764, allocations: 13.55 kB / 1.312 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.764, allocations: 9.125 kB / 1.312 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/1.764, allocations: 0.5694 MB / 1.312 GB, free: 9.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/1.765, allocations: 238.4 kB / 1.312 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.765, allocations: 15.95 kB / 1.312 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/1.765, allocations: 28.77 kB / 1.312 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/1.765, allocations: 29.91 kB / 1.313 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/1.765, allocations: 15 kB / 1.313 GB, free: 9.066 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008704/1.766, allocations: 0.7756 MB / 1.313 GB, free: 8.957 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.766, allocations: 4 kB / 1.313 GB, free: 8.953 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008931/1.767, allocations: 290.1 kB / 1.314 GB, free: 8.914 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.000645/1.768, allocations: 326.8 kB / 1.314 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005693/1.768, allocations: 334.6 kB / 1.314 GB, free: 8.777 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/1.768, allocations: 2.406 kB / 1.314 GB, free: 8.777 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/1.769, allocations: 142.5 kB / 1.314 GB, free: 8.777 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.771, allocations: 0.4911 MB / 1.315 GB, free: 8.723 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/1.773, allocations: 1.896 MB / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/1.774, allocations: 1.063 MB / 1.318 GB, free: 6.898 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007443/1.775, allocations: 197.9 kB / 1.318 GB, free: 6.852 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/1.775, allocations: 73.34 kB / 1.318 GB, free: 6.844 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/1.775, allocations: 0 / 1.318 GB, free: 6.844 MB / 1.014 GB Notification: Performance of Templates: time 0.0295/1.804, allocations: 17.79 MB / 1.335 GB, free: 4.68 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches