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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.003198/0.003198, allocations: 188.3 kB / 22.22 MB, free: 5.105 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.593/1.593, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.4/3.4, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 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-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=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_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.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") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.55 kB / 1.145 GB, free: 30.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4949, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3417/0.8366, allocations: 251 MB / 1.561 GB, free: 13.79 MB / 1.264 GB
Notification: Performance of NFInst.instExpressions: time 0.03583/0.8724, allocations: 22.58 MB / 1.583 GB, free: 7.141 MB / 1.279 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.8756, allocations: 71.38 kB / 1.583 GB, free: 7.07 MB / 1.279 GB
Notification: Performance of NFTyping.typeComponents: time 0.003736/0.8793, allocations: 0.9937 MB / 1.584 GB, free: 6.07 MB / 1.279 GB
Notification: Performance of NFTyping.typeBindings: time 0.005849/0.8852, allocations: 1.53 MB / 1.586 GB, free: 4.535 MB / 1.279 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006276/0.8915, allocations: 2.023 MB / 1.588 GB, free: 2.516 MB / 1.279 GB
Notification: Performance of NFFlatten.flatten: time 0.006264/0.8977, allocations: 2.682 MB / 1.59 GB, free: 15.82 MB / 1.295 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.9, allocations: 0.9735 MB / 1.591 GB, free: 14.8 MB / 1.295 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.9048, allocations: 1.619 MB / 1.593 GB, free: 13.18 MB / 1.295 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.907, allocations: 0.9455 MB / 1.594 GB, free: 12.23 MB / 1.295 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.9074, allocations: 108 kB / 1.594 GB, free: 12.12 MB / 1.295 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005034/0.9124, allocations: 1.785 MB / 1.596 GB, free: 10.34 MB / 1.295 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007901/0.9132, allocations: 386.7 kB / 1.596 GB, free: 9.957 MB / 1.295 GB
Notification: Performance of NFVerifyModel.verify: time 0.001741/0.915, allocations: 0.6376 MB / 1.597 GB, free: 9.316 MB / 1.295 GB
Notification: Performance of NFConvertDAE.convert: time 0.00602/0.921, allocations: 2.285 MB / 1.599 GB, free: 7.023 MB / 1.295 GB
Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.921, allocations: 0 / 1.599 GB, free: 7.023 MB / 1.295 GB
Notification: Performance of FrontEnd: time 2.464e-06/0.921, allocations: 0 / 1.599 GB, free: 7.023 MB / 1.295 GB
Notification: Performance of Transformations before backend: time 8.607e-05/0.9211, allocations: 0 / 1.599 GB, free: 7.023 MB / 1.295 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.003831/0.9249, allocations: 1.438 MB / 1.6 GB, free: 5.551 MB / 1.295 GB
Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.925, allocations: 8.031 kB / 1.6 GB, free: 5.543 MB / 1.295 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.9264, allocations: 235 kB / 1.601 GB, free: 5.312 MB / 1.295 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.9287, allocations: 0.8442 MB / 1.601 GB, free: 4.438 MB / 1.295 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.929, allocations: 184.8 kB / 1.602 GB, free: 4.234 MB / 1.295 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.9291, allocations: 95.94 kB / 1.602 GB, free: 4.141 MB / 1.295 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.9312, allocations: 0.9284 MB / 1.603 GB, free: 3.176 MB / 1.295 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.9312, allocations: 8 kB / 1.603 GB, free: 3.168 MB / 1.295 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.9313, allocations: 40 kB / 1.603 GB, free: 3.129 MB / 1.295 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.9313, allocations: 20 kB / 1.603 GB, free: 3.109 MB / 1.295 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.9326, allocations: 0.6324 MB / 1.603 GB, free: 2.477 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.9998/1.932, allocations: 4.369 MB / 1.607 GB, free: 291.4 MB / 1.295 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/1.933, allocations: 178.1 kB / 1.608 GB, free: 291.4 MB / 1.295 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/1.933, allocations: 143.1 kB / 1.608 GB, free: 291.4 MB / 1.295 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/1.934, allocations: 126.9 kB / 1.608 GB, free: 291.4 MB / 1.295 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.934, allocations: 34.19 kB / 1.608 GB, free: 291.3 MB / 1.295 GB
Notification: Performance of pre-optimization done (n=24): time 2.405e-06/1.934, allocations: 1.344 kB / 1.608 GB, free: 291.3 MB / 1.295 GB
Notification: Performance of matching and sorting (n=24): time 0.001427/1.935, allocations: 474.3 kB / 1.608 GB, free: 291.3 MB / 1.295 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.935, allocations: 53.53 kB / 1.608 GB, free: 291.2 MB / 1.295 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/1.937, allocations: 1.109 MB / 1.61 GB, free: 291.1 MB / 1.295 GB
Notification: Performance of collectPreVariables (initialization): time 4.44e-05/1.937, allocations: 33.17 kB / 1.61 GB, free: 291 MB / 1.295 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004415/1.938, allocations: 0.5121 MB / 1.61 GB, free: 290.7 MB / 1.295 GB
Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/1.938, allocations: 93.36 kB / 1.61 GB, free: 290.7 MB / 1.295 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/1.938, allocations: 100.2 kB / 1.61 GB, free: 290.6 MB / 1.295 GB
Notification: Performance of setup shared object (initialization): time 8.335e-05/1.938, allocations: 329 kB / 1.611 GB, free: 290.3 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/1.938, allocations: 130.9 kB / 1.611 GB, free: 290.3 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/1.939, allocations: 385.7 kB / 1.611 GB, free: 289.9 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/1.939, allocations: 464.4 kB / 1.611 GB, free: 289.6 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.939, allocations: 1.469 kB / 1.611 GB, free: 289.6 MB / 1.295 GB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.001006/1.94, allocations: 0.5451 MB / 1.612 GB, free: 289.4 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/1.94, allocations: 8.375 kB / 1.612 GB, free: 289.4 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/1.94, allocations: 5.812 kB / 1.612 GB, free: 289.4 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 4.189e-05/1.94, allocations: 12.06 kB / 1.612 GB, free: 289.4 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/1.941, allocations: 87.89 kB / 1.612 GB, free: 289.4 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/1.941, allocations: 13.88 kB / 1.612 GB, free: 289.4 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/1.942, allocations: 96.22 kB / 1.612 GB, free: 289.3 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/1.942, allocations: 26.7 kB / 1.612 GB, free: 289.3 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.0003582/1.942, allocations: 295.5 kB / 1.613 GB, free: 289.1 MB / 1.295 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.942, allocations: 110 kB / 1.613 GB, free: 289 MB / 1.295 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007651/1.943, allocations: 422.6 kB / 1.613 GB, free: 288.9 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.943, allocations: 6.922 kB / 1.613 GB, free: 288.9 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.943, allocations: 2.656 kB / 1.613 GB, free: 288.9 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/1.943, allocations: 1.828 kB / 1.613 GB, free: 288.9 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/1.945, allocations: 1.53 MB / 1.615 GB, free: 288 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.945, allocations: 10.28 kB / 1.615 GB, free: 288 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/1.946, allocations: 37.48 kB / 1.615 GB, free: 288 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.946, allocations: 6.531 kB / 1.615 GB, free: 288 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/1.946, allocations: 11.94 kB / 1.615 GB, free: 288 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/1.946, allocations: 6.422 kB / 1.615 GB, free: 288 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.946, allocations: 11.78 kB / 1.615 GB, free: 288 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000638/1.946, allocations: 0.5877 MB / 1.615 GB, free: 287.6 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/1.947, allocations: 165.8 kB / 1.615 GB, free: 287.5 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.947, allocations: 14.05 kB / 1.615 GB, free: 287.5 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/1.947, allocations: 15.5 kB / 1.615 GB, free: 287.5 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/1.947, allocations: 31.56 kB / 1.615 GB, free: 287.4 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/1.947, allocations: 13.86 kB / 1.615 GB, free: 287.4 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.001125/1.948, allocations: 0.7881 MB / 1.616 GB, free: 287.1 MB / 1.295 GB
Notification: Performance of sort global known variables: time 6.1e-08/1.948, allocations: 0 / 1.616 GB, free: 287.1 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.001097/1.949, allocations: 281.3 kB / 1.616 GB, free: 287.1 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.0008492/1.95, allocations: 329.6 kB / 1.617 GB, free: 287 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.0007657/1.951, allocations: 337.3 kB / 1.617 GB, free: 286.9 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.951, allocations: 5.312 kB / 1.617 GB, free: 286.9 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002988/1.951, allocations: 144.1 kB / 1.617 GB, free: 286.8 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/1.955, allocations: 0.5117 MB / 1.618 GB, free: 286.7 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/1.959, allocations: 1.605 MB / 1.619 GB, free: 285.8 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.96, allocations: 1.064 MB / 1.62 GB, free: 285 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.001478/1.962, allocations: 198.9 kB / 1.621 GB, free: 285 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/1.962, allocations: 70.28 kB / 1.621 GB, free: 285 MB / 1.295 GB
Notification: Performance of SimCode: time 2.204e-06/1.962, allocations: 0 / 1.621 GB, free: 285 MB / 1.295 GB
Notification: Performance of Templates: time 0.05429/2.016, allocations: 18.94 MB / 1.639 GB, free: 278.7 MB / 1.295 GB
"
[Timeout remaining time 298]
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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 12.282427283003926]