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.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.001749/0.001749, 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.002146/0.002146, allocations: 157.9 kB / 23.01 MB, free: 4.598 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.572/1.572, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.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.802/2.802, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 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.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_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: 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.002142/0.002142, allocations: 67.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4495, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.304/1.754, allocations: 222.2 MB / 1.334 GB, free: 8.801 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03505/1.789, allocations: 20.56 MB / 1.355 GB, free: 5.305 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/1.792, allocations: 71.38 kB / 1.355 GB, free: 5.234 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.004101/1.796, allocations: 0.986 MB / 1.356 GB, free: 4.242 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006552/1.803, allocations: 1.516 MB / 1.357 GB, free: 2.719 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007/1.81, allocations: 1.947 MB / 1.359 GB, free: 0.7734 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005984/1.816, allocations: 2.695 MB / 1.362 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/1.818, allocations: 0.9565 MB / 1.363 GB, free: 13.09 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00429/1.822, allocations: 1.39 MB / 1.364 GB, free: 11.69 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/1.824, allocations: 0.9064 MB / 1.365 GB, free: 10.78 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002192/1.825, allocations: 112 kB / 1.365 GB, free: 10.67 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004524/1.829, allocations: 1.402 MB / 1.366 GB, free: 9.266 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006332/1.83, allocations: 390.7 kB / 1.367 GB, free: 8.883 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/1.831, allocations: 0.5095 MB / 1.367 GB, free: 8.371 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004946/1.836, allocations: 2.304 MB / 1.369 GB, free: 6.059 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.836, allocations: 0 / 1.369 GB, free: 6.059 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.044e-06/1.836, allocations: 0 / 1.369 GB, free: 6.059 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.705e-05/1.836, allocations: 0 / 1.369 GB, free: 6.059 MB / 1.201 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.002786/1.839, allocations: 1.438 MB / 1.371 GB, free: 4.586 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.839, allocations: 8.031 kB / 1.371 GB, free: 4.578 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.84, allocations: 235.1 kB / 1.371 GB, free: 4.348 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/1.842, allocations: 0.8402 MB / 1.372 GB, free: 3.48 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/1.842, allocations: 291.6 kB / 1.372 GB, free: 3.148 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/1.842, allocations: 95.94 kB / 1.372 GB, free: 3.055 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/1.844, allocations: 0.9285 MB / 1.373 GB, free: 2.09 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.844, allocations: 0 / 1.373 GB, free: 2.09 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/1.844, allocations: 36 kB / 1.373 GB, free: 2.055 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/1.844, allocations: 20 kB / 1.373 GB, free: 2.035 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/1.845, allocations: 0.6362 MB / 1.374 GB, free: 1.402 MB / 1.201 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.004715/1.85, allocations: 2.628 MB / 1.376 GB, free: 14.71 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/1.851, allocations: 185.9 kB / 1.377 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/1.851, allocations: 134.8 kB / 1.377 GB, free: 14.39 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/1.851, allocations: 123.9 kB / 1.377 GB, free: 14.27 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.851, allocations: 38.56 kB / 1.377 GB, free: 14.22 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/1.851, allocations: 0 / 1.377 GB, free: 14.22 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001237/1.853, allocations: 451.2 kB / 1.377 GB, free: 13.77 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/1.853, allocations: 55.41 kB / 1.377 GB, free: 13.71 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.854, allocations: 0.6997 MB / 1.378 GB, free: 13 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/1.854, allocations: 33.7 kB / 1.378 GB, free: 12.96 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/1.854, allocations: 0.5425 MB / 1.379 GB, free: 12.41 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/1.854, allocations: 95.2 kB / 1.379 GB, free: 12.32 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.855, allocations: 102.1 kB / 1.379 GB, free: 12.21 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002578/1.855, allocations: 374.8 kB / 1.379 GB, free: 11.84 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/1.855, allocations: 128.9 kB / 1.379 GB, free: 11.71 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008759/1.856, allocations: 0.734 MB / 1.38 GB, free: 10.78 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/1.857, allocations: 467.6 kB / 1.38 GB, free: 10.24 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.857, allocations: 4 kB / 1.38 GB, free: 10.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009611/1.858, allocations: 0.5127 MB / 1.381 GB, free: 9.715 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.858, allocations: 8 kB / 1.381 GB, free: 9.707 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.858, allocations: 8 kB / 1.381 GB, free: 9.699 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/1.858, allocations: 15.97 kB / 1.381 GB, free: 9.684 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/1.858, allocations: 87.83 kB / 1.381 GB, free: 9.598 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/1.858, allocations: 9.562 kB / 1.381 GB, free: 9.59 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/1.859, allocations: 51.7 kB / 1.381 GB, free: 9.539 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/1.859, allocations: 32.17 kB / 1.381 GB, free: 9.512 MB / 1.217 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.0005891/1.859, allocations: 292.6 kB / 1.381 GB, free: 9.219 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.86, allocations: 75.48 kB / 1.381 GB, free: 9.145 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008971/1.86, allocations: 401.2 kB / 1.382 GB, free: 8.742 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.86, allocations: 4 kB / 1.382 GB, free: 8.738 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.86, allocations: 0 / 1.382 GB, free: 8.738 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.86, allocations: 0 / 1.382 GB, free: 8.738 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/1.863, allocations: 1.332 MB / 1.383 GB, free: 7.312 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.863, allocations: 4.562 kB / 1.383 GB, free: 7.309 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/1.863, allocations: 47.92 kB / 1.383 GB, free: 7.262 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/1.863, allocations: 4 kB / 1.383 GB, free: 7.258 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/1.863, allocations: 15.94 kB / 1.383 GB, free: 7.242 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/1.863, allocations: 11.92 kB / 1.383 GB, free: 7.23 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.863, allocations: 8 kB / 1.383 GB, free: 7.223 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/1.864, allocations: 0.5418 MB / 1.384 GB, free: 6.609 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/1.864, allocations: 111.4 kB / 1.384 GB, free: 6.5 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.549e-05/1.864, allocations: 19.88 kB / 1.384 GB, free: 6.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/1.865, allocations: 12 kB / 1.384 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/1.865, allocations: 27.91 kB / 1.384 GB, free: 6.441 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/1.865, allocations: 15.94 kB / 1.384 GB, free: 6.426 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007264/1.865, allocations: 495 kB / 1.384 GB, free: 5.945 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.865, allocations: 0 / 1.384 GB, free: 5.945 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001205/1.867, allocations: 323 kB / 1.385 GB, free: 5.629 MB / 1.217 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.0007265/1.867, allocations: 311.1 kB / 1.385 GB, free: 5.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007152/1.868, allocations: 333.6 kB / 1.385 GB, free: 4.996 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.868, allocations: 0 / 1.385 GB, free: 4.996 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/1.868, allocations: 133.3 kB / 1.385 GB, free: 4.867 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.87, allocations: 288.6 kB / 1.386 GB, free: 4.613 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/1.873, allocations: 1.541 MB / 1.387 GB, free: 2.98 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/1.873, allocations: 475.9 kB / 1.388 GB, free: 2.484 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000538/1.874, allocations: 147.9 kB / 1.388 GB, free: 2.344 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/1.874, allocations: 52.5 kB / 1.388 GB, free: 2.293 MB / 1.217 GB Notification: Performance of SimCode: time 1.543e-06/1.874, allocations: 0 / 1.388 GB, free: 2.293 MB / 1.217 GB Notification: Performance of Templates: time 0.02588/1.9, allocations: 11.86 MB / 1.399 GB, free: 6.723 MB / 1.232 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 -s ida -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/jenkins1/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: 10.808386940974742]