Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001892/0.001892, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.00228/0.00228, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.535/1.535, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 1.059 GB, free: 376 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3718, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.165/1.537, allocations: 251 MB / 1.461 GB, free: 4.664 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03318/1.57, allocations: 22.56 MB / 1.483 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/1.573, allocations: 55.69 kB / 1.483 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00387/1.577, allocations: 0.9937 MB / 1.484 GB, free: 12.98 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00579/1.583, allocations: 1.528 MB / 1.486 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006361/1.589, allocations: 1.974 MB / 1.488 GB, free: 9.477 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005208/1.594, allocations: 2.681 MB / 1.49 GB, free: 6.789 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/1.596, allocations: 0.9612 MB / 1.491 GB, free: 5.789 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/1.6, allocations: 1.378 MB / 1.493 GB, free: 4.406 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/1.601, allocations: 0.9533 MB / 1.494 GB, free: 3.449 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/1.602, allocations: 108 kB / 1.494 GB, free: 3.344 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/1.605, allocations: 1.777 MB / 1.495 GB, free: 1.562 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004808/1.606, allocations: 394.7 kB / 1.496 GB, free: 1.176 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008845/1.607, allocations: 0.6299 MB / 1.496 GB, free: 0.543 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003976/1.611, allocations: 2.285 MB / 1.499 GB, free: 14.25 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.611, allocations: 0 / 1.499 GB, free: 14.25 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.967e-06/1.611, allocations: 3.984 kB / 1.499 GB, free: 14.25 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.389e-05/1.611, allocations: 0 / 1.499 GB, free: 14.25 MB / 1.17 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.0024/1.613, allocations: 1.505 MB / 1.5 GB, free: 12.69 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.613, allocations: 11.97 kB / 1.5 GB, free: 12.68 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/1.614, allocations: 239 kB / 1.5 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/1.616, allocations: 0.9202 MB / 1.501 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/1.616, allocations: 180.8 kB / 1.501 GB, free: 11.28 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.616, allocations: 96 kB / 1.501 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/1.618, allocations: 0.9323 MB / 1.502 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.618, allocations: 4 kB / 1.502 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/1.618, allocations: 36 kB / 1.502 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/1.618, allocations: 24 kB / 1.502 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/1.619, allocations: 0.6285 MB / 1.503 GB, free: 9.527 MB / 1.17 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.0051/1.624, allocations: 4.447 MB / 1.507 GB, free: 4.691 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/1.625, allocations: 182.7 kB / 1.508 GB, free: 4.504 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/1.625, allocations: 140.8 kB / 1.508 GB, free: 4.363 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.626, allocations: 1.021 MB / 1.509 GB, free: 3.121 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.626, allocations: 30.56 kB / 1.509 GB, free: 3.082 MB / 1.17 GB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/1.626, allocations: 0 / 1.509 GB, free: 3.082 MB / 1.17 GB Notification: Performance of matching and sorting (n=24): time 0.001173/1.627, allocations: 484.3 kB / 1.509 GB, free: 2.605 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.627, allocations: 59.39 kB / 1.509 GB, free: 2.535 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.629, allocations: 1.106 MB / 1.51 GB, free: 1.414 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/1.629, allocations: 37.7 kB / 1.51 GB, free: 1.371 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/1.629, allocations: 0.5165 MB / 1.511 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/1.629, allocations: 87.27 kB / 1.511 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/1.63, allocations: 102 kB / 1.511 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.63, allocations: 318 kB / 1.511 GB, free: 352 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/1.63, allocations: 128.8 kB / 1.511 GB, free: 220 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/1.63, allocations: 387.1 kB / 1.512 GB, free: 15.73 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/1.631, allocations: 459.6 kB / 1.512 GB, free: 15.19 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.631, allocations: 4 kB / 1.512 GB, free: 15.19 MB / 1.186 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009358/1.632, allocations: 0.5471 MB / 1.513 GB, free: 14.63 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.632, allocations: 8 kB / 1.513 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.632, allocations: 12.62 kB / 1.513 GB, free: 14.61 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/1.632, allocations: 11.94 kB / 1.513 GB, free: 14.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/1.632, allocations: 91.89 kB / 1.513 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.632, allocations: 15.92 kB / 1.513 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/1.633, allocations: 91.28 kB / 1.513 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/1.633, allocations: 31.92 kB / 1.513 GB, free: 14.38 MB / 1.186 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.0004049/1.634, allocations: 285.6 kB / 1.513 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.634, allocations: 107.3 kB / 1.513 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007728/1.634, allocations: 425.1 kB / 1.514 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.634, allocations: 4 kB / 1.514 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.635, allocations: 0 / 1.514 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/1.635, allocations: 3.984 kB / 1.514 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/1.637, allocations: 1.55 MB / 1.515 GB, free: 11.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.637, allocations: 5.688 kB / 1.515 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/1.637, allocations: 43.92 kB / 1.515 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/1.637, allocations: 11.94 kB / 1.515 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/1.637, allocations: 8.547 kB / 1.515 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/1.637, allocations: 8 kB / 1.515 GB, free: 11.81 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.637, allocations: 11.94 kB / 1.515 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/1.638, allocations: 0.5704 MB / 1.516 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/1.638, allocations: 248.2 kB / 1.516 GB, free: 10.9 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/1.638, allocations: 12 kB / 1.516 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.638, allocations: 11.98 kB / 1.516 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/1.639, allocations: 35.84 kB / 1.516 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/1.639, allocations: 12 kB / 1.516 GB, free: 10.83 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001064/1.64, allocations: 0.7822 MB / 1.517 GB, free: 10.04 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.64, allocations: 0 / 1.517 GB, free: 10.04 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009011/1.641, allocations: 287.4 kB / 1.517 GB, free: 9.758 MB / 1.186 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.0007386/1.641, allocations: 343.5 kB / 1.518 GB, free: 9.43 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006469/1.642, allocations: 333.3 kB / 1.518 GB, free: 9.105 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.642, allocations: 0 / 1.518 GB, free: 9.105 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/1.642, allocations: 131.8 kB / 1.518 GB, free: 8.977 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.644, allocations: 0.5087 MB / 1.519 GB, free: 8.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/1.647, allocations: 1.611 MB / 1.52 GB, free: 6.781 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/1.648, allocations: 1.067 MB / 1.521 GB, free: 5.688 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006463/1.648, allocations: 198.2 kB / 1.521 GB, free: 5.5 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.648, allocations: 71.42 kB / 1.521 GB, free: 5.43 MB / 1.186 GB Notification: Performance of SimCode: time 1.031e-06/1.648, allocations: 3.938 kB / 1.521 GB, free: 5.426 MB / 1.186 GB Notification: Performance of Templates: time 0.03669/1.685, allocations: 18.81 MB / 1.54 GB, free: 2.867 MB / 1.201 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.737862947396934]