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.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.002003/0.002003, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.003115/0.003115, allocations: 164.4 kB / 23.01 MB, free: 4.594 MB / 14.72 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 1.55/1.55, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.906/2.906, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 63.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451/1.453, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3318/1.785, allocations: 222.3 MB / 1.371 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03425/1.819, allocations: 20.58 MB / 1.391 GB, free: 5.547 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/1.822, allocations: 79.31 kB / 1.391 GB, free: 5.469 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004197/1.826, allocations: 0.9782 MB / 1.392 GB, free: 4.484 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00546/1.832, allocations: 1.505 MB / 1.394 GB, free: 2.973 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006085/1.838, allocations: 1.972 MB / 1.396 GB, free: 1.004 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004382/1.842, allocations: 2.671 MB / 1.398 GB, free: 14.32 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/1.844, allocations: 0.9658 MB / 1.399 GB, free: 13.32 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/1.848, allocations: 1.639 MB / 1.401 GB, free: 11.68 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/1.849, allocations: 0.8869 MB / 1.402 GB, free: 10.79 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/1.85, allocations: 108 kB / 1.402 GB, free: 10.68 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/1.853, allocations: 1.395 MB / 1.403 GB, free: 9.281 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.000513/1.854, allocations: 394.7 kB / 1.403 GB, free: 8.895 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.000695/1.854, allocations: 0.5133 MB / 1.404 GB, free: 8.379 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003563/1.858, allocations: 2.304 MB / 1.406 GB, free: 6.066 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.858, allocations: 0 / 1.406 GB, free: 6.066 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.623e-06/1.858, allocations: 3.938 kB / 1.406 GB, free: 6.062 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.555e-05/1.858, allocations: 0 / 1.406 GB, free: 6.062 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.002295/1.86, allocations: 1.438 MB / 1.408 GB, free: 4.59 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.86, allocations: 8.031 kB / 1.408 GB, free: 4.582 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.861, allocations: 235.1 kB / 1.408 GB, free: 4.352 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/1.863, allocations: 0.8675 MB / 1.409 GB, free: 3.453 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/1.863, allocations: 287.6 kB / 1.409 GB, free: 3.125 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.863, allocations: 95.94 kB / 1.409 GB, free: 3.031 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/1.865, allocations: 0.9324 MB / 1.41 GB, free: 2.062 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.865, allocations: 3.938 kB / 1.41 GB, free: 2.059 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/1.865, allocations: 39.98 kB / 1.41 GB, free: 2.02 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/1.865, allocations: 24 kB / 1.41 GB, free: 1.996 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/1.866, allocations: 0.6246 MB / 1.411 GB, free: 1.371 MB / 1.248 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.003981/1.87, allocations: 2.63 MB / 1.413 GB, free: 14.67 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/1.871, allocations: 189 kB / 1.413 GB, free: 14.48 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/1.871, allocations: 136.8 kB / 1.413 GB, free: 14.34 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/1.872, allocations: 123.9 kB / 1.414 GB, free: 14.22 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/1.872, allocations: 38.56 kB / 1.414 GB, free: 14.17 MB / 1.264 GB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/1.872, allocations: 0 / 1.414 GB, free: 14.17 MB / 1.264 GB Notification: Performance of matching and sorting (n=24): time 0.00104/1.873, allocations: 444.8 kB / 1.414 GB, free: 13.73 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.873, allocations: 55.41 kB / 1.414 GB, free: 13.66 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009756/1.874, allocations: 0.7038 MB / 1.415 GB, free: 12.95 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/1.874, allocations: 29.7 kB / 1.415 GB, free: 12.92 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/1.874, allocations: 0.558 MB / 1.415 GB, free: 12.35 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/1.874, allocations: 87.27 kB / 1.415 GB, free: 12.27 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/1.875, allocations: 102.1 kB / 1.416 GB, free: 12.16 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002487/1.875, allocations: 374.8 kB / 1.416 GB, free: 11.79 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/1.875, allocations: 128.9 kB / 1.416 GB, free: 11.66 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/1.876, allocations: 0.7301 MB / 1.417 GB, free: 10.73 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/1.877, allocations: 475.5 kB / 1.417 GB, free: 10.18 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.877, allocations: 0 / 1.417 GB, free: 10.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009402/1.878, allocations: 0.5126 MB / 1.418 GB, free: 9.664 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.878, allocations: 8 kB / 1.418 GB, free: 9.656 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.878, allocations: 4 kB / 1.418 GB, free: 9.652 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.878, allocations: 15.88 kB / 1.418 GB, free: 9.637 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/1.878, allocations: 95.83 kB / 1.418 GB, free: 9.543 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.878, allocations: 11.94 kB / 1.418 GB, free: 9.531 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/1.878, allocations: 39.77 kB / 1.418 GB, free: 9.492 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/1.878, allocations: 24 kB / 1.418 GB, free: 9.469 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.0004041/1.879, allocations: 294.5 kB / 1.418 GB, free: 9.172 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/1.879, allocations: 79.48 kB / 1.418 GB, free: 9.094 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007421/1.88, allocations: 412.8 kB / 1.419 GB, free: 8.68 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.88, allocations: 0 / 1.419 GB, free: 8.68 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.88, allocations: 4 kB / 1.419 GB, free: 8.676 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.88, allocations: 0 / 1.419 GB, free: 8.676 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/1.882, allocations: 1.336 MB / 1.42 GB, free: 7.246 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.882, allocations: 4.562 kB / 1.42 GB, free: 7.242 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/1.882, allocations: 43.92 kB / 1.42 GB, free: 7.199 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/1.882, allocations: 8.062 kB / 1.42 GB, free: 7.191 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/1.882, allocations: 19.92 kB / 1.42 GB, free: 7.172 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.882, allocations: 4 kB / 1.42 GB, free: 7.168 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/1.882, allocations: 15.88 kB / 1.42 GB, free: 7.152 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/1.883, allocations: 0.5435 MB / 1.421 GB, free: 6.539 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/1.883, allocations: 115.4 kB / 1.421 GB, free: 6.426 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/1.883, allocations: 15.94 kB / 1.421 GB, free: 6.41 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/1.883, allocations: 12 kB / 1.421 GB, free: 6.398 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/1.883, allocations: 31.84 kB / 1.421 GB, free: 6.367 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/1.883, allocations: 12 kB / 1.421 GB, free: 6.355 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006872/1.884, allocations: 499 kB / 1.421 GB, free: 5.875 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.1e-08/1.884, allocations: 0 / 1.421 GB, free: 5.875 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001043/1.885, allocations: 326.9 kB / 1.422 GB, free: 5.555 MB / 1.264 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.0005944/1.886, allocations: 312.8 kB / 1.422 GB, free: 5.242 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006406/1.886, allocations: 336.4 kB / 1.422 GB, free: 4.914 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.886, allocations: 0 / 1.422 GB, free: 4.914 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/1.887, allocations: 135.7 kB / 1.422 GB, free: 4.781 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/1.888, allocations: 267.3 kB / 1.423 GB, free: 4.523 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/1.89, allocations: 1.557 MB / 1.424 GB, free: 2.875 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/1.891, allocations: 479.9 kB / 1.424 GB, free: 2.375 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004636/1.892, allocations: 147.9 kB / 1.425 GB, free: 2.234 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/1.892, allocations: 48.5 kB / 1.425 GB, free: 2.188 MB / 1.264 GB Notification: Performance of SimCode: time 3.2e-07/1.892, allocations: 0 / 1.425 GB, free: 2.188 MB / 1.264 GB Notification: Performance of Templates: time 0.0245/1.916, allocations: 11.88 MB / 1.436 GB, free: 6.594 MB / 1.279 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 -s ida -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/jenkins1/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: 11.105256338021718]