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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 92.2 kB / 20.19 MB, free: 4.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 173 kB / 23.5 MB, free: 1.047 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9262/0.9262, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.244/2.244, allocations: 429.5 MB / 0.6736 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 0.8782 GB, free: 5.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.041e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7849/0.7849, allocations: 248.7 MB / 1.121 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.8057, allocations: 24.08 MB / 1.145 GB, free: 9.648 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.8073, allocations: 88.84 kB / 1.145 GB, free: 9.648 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.8098, allocations: 0.999 MB / 1.146 GB, free: 9.262 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.8132, allocations: 1.605 MB / 1.147 GB, free: 8.441 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.8182, allocations: 2.505 MB / 1.15 GB, free: 7.27 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002782/0.821, allocations: 2.863 MB / 1.152 GB, free: 5.852 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.822, allocations: 1.003 MB / 1.153 GB, free: 5.219 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.8249, allocations: 2.112 MB / 1.156 GB, free: 4 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008458/0.8258, allocations: 0.8279 MB / 1.156 GB, free: 3.566 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.8259, allocations: 115.2 kB / 1.156 GB, free: 3.566 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.8282, allocations: 1.422 MB / 1.158 GB, free: 2.84 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.8285, allocations: 423.8 kB / 1.158 GB, free: 2.535 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.8289, allocations: 474.4 kB / 1.159 GB, free: 2.309 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.8307, allocations: 1.714 MB / 1.16 GB, free: 1.344 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8307, allocations: 0 / 1.16 GB, free: 1.344 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8307, allocations: 0 / 1.16 GB, free: 1.344 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.8307, allocations: 4 kB / 1.16 GB, free: 1.34 MB / 0.948 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.001568/0.8322, allocations: 1.653 MB / 1.162 GB, free: 44 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.8323, allocations: 7.969 kB / 1.162 GB, free: 44 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008809/0.8332, allocations: 367.5 kB / 1.162 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.8343, allocations: 1.011 MB / 1.163 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.8345, allocations: 301.7 kB / 1.164 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.995e-05/0.8346, allocations: 106.8 kB / 1.164 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/0.8354, allocations: 0.6852 MB / 1.164 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.8354, allocations: 0 / 1.164 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.8355, allocations: 40.36 kB / 1.164 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.8355, allocations: 25.34 kB / 1.164 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.836, allocations: 308.5 kB / 1.165 GB, free: 14.26 MB / 0.9636 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.002822/0.8388, allocations: 3.107 MB / 1.168 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.8391, allocations: 88.25 kB / 1.168 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.8392, allocations: 64.41 kB / 1.168 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.8395, allocations: 119.4 kB / 1.168 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.8396, allocations: 44.39 kB / 1.168 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.8396, allocations: 0 / 1.168 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24): time 0.0006481/0.8402, allocations: 285.4 kB / 1.168 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.8402, allocations: 54.97 kB / 1.168 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.841, allocations: 0.7964 MB / 1.169 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.841, allocations: 39.58 kB / 1.169 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.8414, allocations: 0.6365 MB / 1.17 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.8414, allocations: 95.09 kB / 1.17 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.8416, allocations: 165.6 kB / 1.17 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.8418, allocations: 0.5021 MB / 1.171 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.8419, allocations: 66.83 kB / 1.171 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.8425, allocations: 1.075 MB / 1.172 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/0.8431, allocations: 0.7782 MB / 1.172 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.8431, allocations: 6.688 kB / 1.172 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007055/0.8438, allocations: 0.6066 MB / 1.173 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.8438, allocations: 11.69 kB / 1.173 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.8438, allocations: 18.56 kB / 1.173 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.8438, allocations: 17.72 kB / 1.173 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.8441, allocations: 157.3 kB / 1.173 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.8442, allocations: 30.7 kB / 1.173 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.8445, allocations: 86.73 kB / 1.173 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.8445, allocations: 46.34 kB / 1.173 GB, free: 7.062 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (84): * Single equations (assignments): 84 * 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.0001951/0.8447, allocations: 217.7 kB / 1.174 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.8448, allocations: 88.94 kB / 1.174 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.8452, allocations: 295.1 kB / 1.174 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.8452, allocations: 0 / 1.174 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8452, allocations: 2.812 kB / 1.174 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8452, allocations: 0 / 1.174 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.8464, allocations: 1.166 MB / 1.175 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.8464, allocations: 5.969 kB / 1.175 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.8465, allocations: 40.3 kB / 1.175 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.8465, allocations: 5.656 kB / 1.175 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.8465, allocations: 16.83 kB / 1.175 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.8465, allocations: 6.781 kB / 1.175 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.8465, allocations: 9.094 kB / 1.175 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.847, allocations: 0.5248 MB / 1.176 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.8472, allocations: 127.5 kB / 1.176 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.8473, allocations: 9.5 kB / 1.176 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.8474, allocations: 13.47 kB / 1.176 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.8475, allocations: 32.53 kB / 1.176 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.8475, allocations: 11.88 kB / 1.176 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004308/0.8479, allocations: 497.2 kB / 1.176 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.8479, allocations: 0 / 1.176 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0006514/0.8486, allocations: 351.8 kB / 1.177 GB, free: 4.668 MB / 0.9636 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.0004367/0.849, allocations: 323 kB / 1.177 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.8495, allocations: 301.1 kB / 1.177 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8495, allocations: 0 / 1.177 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.8497, allocations: 82.72 kB / 1.177 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.8505, allocations: 288.9 kB / 1.178 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.8526, allocations: 1.654 MB / 1.179 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.8528, allocations: 222.7 kB / 1.179 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003306/0.8531, allocations: 152 kB / 1.18 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.8532, allocations: 56.33 kB / 1.18 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of SimCode: time 7.71e-07/0.8532, allocations: 3.625 kB / 1.18 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of Templates: time 0.01708/0.8703, allocations: 12.44 MB / 1.192 GB, free: 8.934 MB / 0.9792 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.65778513206169]