Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001952/0.001952, allocations: 110 kB / 18.84 MB, free: 2.887 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.002321/0.002321, allocations: 191.3 kB / 22.1 MB, free: 5.176 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.552/1.552, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.483/3.483, allocations: 495.8 MB / 0.783 GB, free: 33.56 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 66.47 kB / 1.137 GB, free: 33.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5267, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3554/0.882, allocations: 248.3 MB / 1.549 GB, free: 8.59 MB / 1.248 GB
Notification: Performance of NFInst.instExpressions: time 0.04028/0.9223, allocations: 22.35 MB / 1.571 GB, free: 2.172 MB / 1.264 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.9251, allocations: 71.38 kB / 1.571 GB, free: 2.102 MB / 1.264 GB
Notification: Performance of NFTyping.typeComponents: time 0.004004/0.9291, allocations: 1.002 MB / 1.572 GB, free: 1.094 MB / 1.264 GB
Notification: Performance of NFTyping.typeBindings: time 0.006194/0.9353, allocations: 1.532 MB / 1.574 GB, free: 15.55 MB / 1.279 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00678/0.942, allocations: 2.015 MB / 1.576 GB, free: 13.54 MB / 1.279 GB
Notification: Performance of NFFlatten.flatten: time 0.005559/0.9476, allocations: 2.678 MB / 1.578 GB, free: 10.85 MB / 1.279 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.9497, allocations: 0.9772 MB / 1.579 GB, free: 9.84 MB / 1.279 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.9542, allocations: 1.611 MB / 1.581 GB, free: 8.223 MB / 1.279 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.9563, allocations: 0.9494 MB / 1.582 GB, free: 7.27 MB / 1.279 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.9565, allocations: 108 kB / 1.582 GB, free: 7.164 MB / 1.279 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.9602, allocations: 1.399 MB / 1.583 GB, free: 5.762 MB / 1.279 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005688/0.9608, allocations: 386.7 kB / 1.584 GB, free: 5.383 MB / 1.279 GB
Notification: Performance of NFVerifyModel.verify: time 0.001074/0.9618, allocations: 0.6415 MB / 1.584 GB, free: 4.738 MB / 1.279 GB
Notification: Performance of NFConvertDAE.convert: time 0.004509/0.9664, allocations: 2.223 MB / 1.586 GB, free: 2.508 MB / 1.279 GB
Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9664, allocations: 0 / 1.586 GB, free: 2.508 MB / 1.279 GB
Notification: Performance of FrontEnd: time 2.474e-06/0.9664, allocations: 0 / 1.586 GB, free: 2.508 MB / 1.279 GB
Notification: Performance of Transformations before backend: time 2.952e-05/0.9664, allocations: 0 / 1.586 GB, free: 2.508 MB / 1.279 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.002832/0.9692, allocations: 1.434 MB / 1.588 GB, free: 1.039 MB / 1.279 GB
Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.9693, allocations: 12.03 kB / 1.588 GB, free: 1.027 MB / 1.279 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.9705, allocations: 235 kB / 1.588 GB, free: 0.7969 MB / 1.279 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.9723, allocations: 0.8364 MB / 1.589 GB, free: 15.93 MB / 1.295 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.9725, allocations: 192.8 kB / 1.589 GB, free: 15.71 MB / 1.295 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.9727, allocations: 91.94 kB / 1.589 GB, free: 15.62 MB / 1.295 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.9744, allocations: 0.9323 MB / 1.59 GB, free: 14.66 MB / 1.295 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.9744, allocations: 3.938 kB / 1.59 GB, free: 14.65 MB / 1.295 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.9745, allocations: 40 kB / 1.59 GB, free: 14.61 MB / 1.295 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.9745, allocations: 20 kB / 1.59 GB, free: 14.59 MB / 1.295 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.9758, allocations: 0.6324 MB / 1.591 GB, free: 13.96 MB / 1.295 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.005755/0.9815, allocations: 4.356 MB / 1.595 GB, free: 9.219 MB / 1.295 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.982, allocations: 178.7 kB / 1.595 GB, free: 9.035 MB / 1.295 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.9822, allocations: 140.7 kB / 1.595 GB, free: 8.895 MB / 1.295 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.9828, allocations: 131.9 kB / 1.595 GB, free: 8.766 MB / 1.295 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.9829, allocations: 38.59 kB / 1.595 GB, free: 8.719 MB / 1.295 GB
Notification: Performance of pre-optimization done (n=24): time 3.036e-06/0.9829, allocations: 0 / 1.595 GB, free: 8.719 MB / 1.295 GB
Notification: Performance of matching and sorting (n=24): time 0.001223/0.9841, allocations: 471.7 kB / 1.596 GB, free: 8.254 MB / 1.295 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.9841, allocations: 59.39 kB / 1.596 GB, free: 8.184 MB / 1.295 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.9858, allocations: 1.11 MB / 1.597 GB, free: 7.059 MB / 1.295 GB
Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.9858, allocations: 33.7 kB / 1.597 GB, free: 7.02 MB / 1.295 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.9863, allocations: 0.5165 MB / 1.597 GB, free: 6.5 MB / 1.295 GB
Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.9864, allocations: 87.27 kB / 1.598 GB, free: 6.414 MB / 1.295 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.9866, allocations: 98.03 kB / 1.598 GB, free: 6.312 MB / 1.295 GB
Notification: Performance of setup shared object (initialization): time 0.0001714/0.9868, allocations: 326 kB / 1.598 GB, free: 5.988 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.987, allocations: 124.8 kB / 1.598 GB, free: 5.867 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.9876, allocations: 391 kB / 1.598 GB, free: 5.375 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/0.9883, allocations: 463.6 kB / 1.599 GB, free: 4.836 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.9883, allocations: 4 kB / 1.599 GB, free: 4.832 MB / 1.295 GB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.001062/0.9894, allocations: 0.5432 MB / 1.599 GB, free: 4.281 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.9894, allocations: 12.62 kB / 1.599 GB, free: 4.27 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.9894, allocations: 8 kB / 1.599 GB, free: 4.262 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.9894, allocations: 12 kB / 1.599 GB, free: 4.25 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.9898, allocations: 91.83 kB / 1.6 GB, free: 4.16 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.9898, allocations: 8 kB / 1.6 GB, free: 4.152 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.9906, allocations: 99.27 kB / 1.6 GB, free: 4.055 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.9907, allocations: 23.98 kB / 1.6 GB, free: 4.031 MB / 1.295 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.0005408/0.9912, allocations: 290.1 kB / 1.6 GB, free: 3.738 MB / 1.295 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.9914, allocations: 115.2 kB / 1.6 GB, free: 3.625 MB / 1.295 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.9923, allocations: 432.9 kB / 1.6 GB, free: 3.195 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.9923, allocations: 4 kB / 1.6 GB, free: 3.191 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9923, allocations: 8.219 kB / 1.6 GB, free: 3.184 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.9923, allocations: 7.922 kB / 1.6 GB, free: 3.176 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.9949, allocations: 1.522 MB / 1.602 GB, free: 1.551 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.9949, allocations: 4 kB / 1.602 GB, free: 1.547 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.9951, allocations: 55.83 kB / 1.602 GB, free: 1.492 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.9951, allocations: 4.562 kB / 1.602 GB, free: 1.488 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.9952, allocations: 12 kB / 1.602 GB, free: 1.477 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.9952, allocations: 11.94 kB / 1.602 GB, free: 1.465 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.9952, allocations: 8 kB / 1.602 GB, free: 1.457 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.996, allocations: 0.582 MB / 1.603 GB, free: 0.8047 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.9964, allocations: 155.2 kB / 1.603 GB, free: 0.6523 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.9965, allocations: 15.98 kB / 1.603 GB, free: 0.6367 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.9969, allocations: 15.98 kB / 1.603 GB, free: 0.6211 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.997, allocations: 35.84 kB / 1.603 GB, free: 0.5859 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.997, allocations: 8 kB / 1.603 GB, free: 0.5781 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 1.097/2.094, allocations: 0.7794 MB / 1.604 GB, free: 299.3 MB / 1.295 GB
Notification: Performance of sort global known variables: time 6.01e-07/2.094, allocations: 0 / 1.604 GB, free: 299.3 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.002118/2.096, allocations: 285.8 kB / 1.604 GB, free: 299.3 MB / 1.295 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.001148/2.097, allocations: 333.6 kB / 1.604 GB, free: 299.2 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.001147/2.099, allocations: 329.2 kB / 1.605 GB, free: 299.2 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 4.929e-06/2.099, allocations: 4.609 kB / 1.605 GB, free: 299.2 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003609/2.099, allocations: 142.4 kB / 1.605 GB, free: 299.2 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/2.102, allocations: 0.5096 MB / 1.605 GB, free: 299.1 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/2.105, allocations: 1.605 MB / 1.607 GB, free: 298.3 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/2.106, allocations: 1.066 MB / 1.608 GB, free: 297.6 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.0007775/2.107, allocations: 200.2 kB / 1.608 GB, free: 297.6 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/2.107, allocations: 67.88 kB / 1.608 GB, free: 297.6 MB / 1.295 GB
Notification: Performance of SimCode: time 1.853e-06/2.107, allocations: 0 / 1.608 GB, free: 297.6 MB / 1.295 GB
Notification: Performance of Templates: time 0.0521/2.159, allocations: 18.94 MB / 1.627 GB, free: 292.8 MB / 1.295 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.392461247742176]