Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 189.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.925/2.925, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=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.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_11_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.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_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 63.89 kB / 1.11 GB, free: 6.258 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.265/1.267, allocations: 168.8 MB / 1.274 GB, free: 4.156 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3462/1.613, allocations: 251 MB / 1.519 GB, free: 8.297 MB / 1.217 GB
Notification: Performance of NFInst.instExpressions: time 0.03875/1.652, allocations: 22.59 MB / 1.541 GB, free: 1.637 MB / 1.232 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003274/1.655, allocations: 71.38 kB / 1.542 GB, free: 1.566 MB / 1.232 GB
Notification: Performance of NFTyping.typeComponents: time 0.003831/1.659, allocations: 1.001 MB / 1.543 GB, free: 0.5586 MB / 1.232 GB
Notification: Performance of NFTyping.typeBindings: time 0.006174/1.665, allocations: 1.536 MB / 1.544 GB, free: 15.02 MB / 1.248 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007333/1.672, allocations: 2.02 MB / 1.546 GB, free: 13 MB / 1.248 GB
Notification: Performance of NFFlatten.flatten: time 0.006935/1.679, allocations: 2.698 MB / 1.549 GB, free: 10.29 MB / 1.248 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002645/1.682, allocations: 0.9735 MB / 1.55 GB, free: 9.273 MB / 1.248 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004766/1.687, allocations: 1.382 MB / 1.551 GB, free: 7.887 MB / 1.248 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00177/1.688, allocations: 0.9533 MB / 1.552 GB, free: 6.93 MB / 1.248 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001685/1.689, allocations: 116 kB / 1.552 GB, free: 6.816 MB / 1.248 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004925/1.694, allocations: 1.808 MB / 1.554 GB, free: 5.004 MB / 1.248 GB
Notification: Performance of NFScalarize.scalarize: time 0.0006994/1.694, allocations: 382.8 kB / 1.554 GB, free: 4.629 MB / 1.248 GB
Notification: Performance of NFVerifyModel.verify: time 0.001153/1.695, allocations: 0.6337 MB / 1.555 GB, free: 3.992 MB / 1.248 GB
Notification: Performance of NFConvertDAE.convert: time 0.004686/1.7, allocations: 2.285 MB / 1.557 GB, free: 1.699 MB / 1.248 GB
Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.7, allocations: 0 / 1.557 GB, free: 1.699 MB / 1.248 GB
Notification: Performance of FrontEnd: time 2.184e-06/1.7, allocations: 4 kB / 1.557 GB, free: 1.695 MB / 1.248 GB
Notification: Performance of Transformations before backend: time 2.884e-05/1.7, allocations: 0 / 1.557 GB, free: 1.695 MB / 1.248 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.002726/1.703, allocations: 1.445 MB / 1.558 GB, free: 220 kB / 1.248 GB
Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.703, allocations: 8.031 kB / 1.558 GB, free: 212 kB / 1.248 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/1.704, allocations: 235.2 kB / 1.559 GB, free: 15.97 MB / 1.264 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/1.706, allocations: 0.8364 MB / 1.559 GB, free: 15.11 MB / 1.264 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/1.706, allocations: 180.8 kB / 1.56 GB, free: 14.91 MB / 1.264 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/1.707, allocations: 103.7 kB / 1.56 GB, free: 14.81 MB / 1.264 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/1.708, allocations: 0.9245 MB / 1.561 GB, free: 13.85 MB / 1.264 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/1.708, allocations: 4 kB / 1.561 GB, free: 13.85 MB / 1.264 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/1.708, allocations: 36 kB / 1.561 GB, free: 13.81 MB / 1.264 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/1.709, allocations: 24 kB / 1.561 GB, free: 13.79 MB / 1.264 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/1.71, allocations: 0.6285 MB / 1.561 GB, free: 13.16 MB / 1.264 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.007033/1.717, allocations: 4.371 MB / 1.566 GB, free: 8.398 MB / 1.264 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/1.718, allocations: 190.5 kB / 1.566 GB, free: 8.203 MB / 1.264 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/1.718, allocations: 136.8 kB / 1.566 GB, free: 8.066 MB / 1.264 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/1.718, allocations: 127.9 kB / 1.566 GB, free: 7.941 MB / 1.264 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/1.718, allocations: 38.5 kB / 1.566 GB, free: 7.895 MB / 1.264 GB
Notification: Performance of pre-optimization done (n=24): time 2.525e-06/1.718, allocations: 0 / 1.566 GB, free: 7.895 MB / 1.264 GB
Notification: Performance of matching and sorting (n=24): time 0.001378/1.72, allocations: 472.3 kB / 1.566 GB, free: 7.43 MB / 1.264 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.72, allocations: 59.41 kB / 1.567 GB, free: 7.359 MB / 1.264 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/1.722, allocations: 1.11 MB / 1.568 GB, free: 6.234 MB / 1.264 GB
Notification: Performance of collectPreVariables (initialization): time 4.355e-05/1.722, allocations: 33.7 kB / 1.568 GB, free: 6.195 MB / 1.264 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005717/1.722, allocations: 0.5165 MB / 1.568 GB, free: 5.676 MB / 1.264 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001717/1.723, allocations: 87.27 kB / 1.568 GB, free: 5.59 MB / 1.264 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/1.723, allocations: 98.03 kB / 1.568 GB, free: 5.488 MB / 1.264 GB
Notification: Performance of setup shared object (initialization): time 0.0002833/1.723, allocations: 325.9 kB / 1.569 GB, free: 5.164 MB / 1.264 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/1.723, allocations: 128.8 kB / 1.569 GB, free: 5.039 MB / 1.264 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/1.724, allocations: 395.1 kB / 1.569 GB, free: 4.539 MB / 1.264 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/1.725, allocations: 463.6 kB / 1.57 GB, free: 4 MB / 1.264 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.725, allocations: 0 / 1.57 GB, free: 4 MB / 1.264 GB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.001003/1.726, allocations: 0.5438 MB / 1.57 GB, free: 3.449 MB / 1.264 GB
Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.726, allocations: 16.03 kB / 1.57 GB, free: 3.434 MB / 1.264 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.726, allocations: 8 kB / 1.57 GB, free: 3.426 MB / 1.264 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/1.726, allocations: 8 kB / 1.57 GB, free: 3.418 MB / 1.264 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/1.726, allocations: 91.83 kB / 1.57 GB, free: 3.328 MB / 1.264 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/1.726, allocations: 11.94 kB / 1.57 GB, free: 3.316 MB / 1.264 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/1.727, allocations: 103.2 kB / 1.57 GB, free: 3.215 MB / 1.264 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/1.727, allocations: 24 kB / 1.57 GB, free: 3.191 MB / 1.264 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.0004781/1.727, allocations: 288.4 kB / 1.571 GB, free: 2.902 MB / 1.264 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/1.728, allocations: 115.2 kB / 1.571 GB, free: 2.789 MB / 1.264 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008768/1.729, allocations: 421.2 kB / 1.571 GB, free: 2.367 MB / 1.264 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/1.729, allocations: 4 kB / 1.571 GB, free: 2.363 MB / 1.264 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.729, allocations: 0 / 1.571 GB, free: 2.363 MB / 1.264 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.729, allocations: 0 / 1.571 GB, free: 2.363 MB / 1.264 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/1.731, allocations: 1.526 MB / 1.573 GB, free: 0.7344 MB / 1.264 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.731, allocations: 7.938 kB / 1.573 GB, free: 0.7266 MB / 1.264 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/1.731, allocations: 40.48 kB / 1.573 GB, free: 0.6875 MB / 1.264 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/1.731, allocations: 12 kB / 1.573 GB, free: 0.6758 MB / 1.264 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.732, allocations: 15.88 kB / 1.573 GB, free: 0.6602 MB / 1.264 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/1.732, allocations: 11.98 kB / 1.573 GB, free: 0.6484 MB / 1.264 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.732, allocations: 4 kB / 1.573 GB, free: 0.6445 MB / 1.264 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/1.732, allocations: 0.588 MB / 1.573 GB, free: 15.98 MB / 1.279 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/1.733, allocations: 163.2 kB / 1.573 GB, free: 15.83 MB / 1.279 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.733, allocations: 11.94 kB / 1.573 GB, free: 15.82 MB / 1.279 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/1.733, allocations: 19.98 kB / 1.573 GB, free: 15.8 MB / 1.279 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/1.733, allocations: 27.84 kB / 1.574 GB, free: 15.77 MB / 1.279 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/1.733, allocations: 19.98 kB / 1.574 GB, free: 15.75 MB / 1.279 GB
Notification: Performance of sorting global known variables: time 0.001244/1.735, allocations: 0.7783 MB / 1.574 GB, free: 14.96 MB / 1.279 GB
Notification: Performance of sort global known variables: time 6e-08/1.735, allocations: 0 / 1.574 GB, free: 14.96 MB / 1.279 GB
Notification: Performance of remove unused functions: time 0.001074/1.736, allocations: 283.4 kB / 1.575 GB, free: 14.69 MB / 1.279 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.0009999/1.737, allocations: 338.3 kB / 1.575 GB, free: 14.36 MB / 1.279 GB
Notification: Performance of simCode: created initialization part: time 0.0007894/1.737, allocations: 328 kB / 1.575 GB, free: 14.04 MB / 1.279 GB
Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.737, allocations: 8 kB / 1.575 GB, free: 14.03 MB / 1.279 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002192/1.738, allocations: 137.2 kB / 1.575 GB, free: 13.89 MB / 1.279 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.74, allocations: 0.5139 MB / 1.576 GB, free: 13.39 MB / 1.279 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/1.743, allocations: 1.606 MB / 1.577 GB, free: 11.7 MB / 1.279 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.744, allocations: 1.063 MB / 1.578 GB, free: 10.61 MB / 1.279 GB
Notification: Performance of simCode: alias equations: time 0.0006054/1.745, allocations: 199.8 kB / 1.579 GB, free: 10.42 MB / 1.279 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/1.745, allocations: 75.31 kB / 1.579 GB, free: 10.34 MB / 1.279 GB
Notification: Performance of SimCode: time 2.91e-07/1.745, allocations: 0 / 1.579 GB, free: 10.34 MB / 1.279 GB
Notification: Performance of Templates: time 0.04332/1.788, allocations: 18.93 MB / 1.597 GB, free: 7.633 MB / 1.295 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 11.939973526634276]