Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001942/0.001942, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.002258/0.002258, allocations: 158.2 kB / 23.01 MB, free: 4.961 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.895/2.895, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.AirToOutlet,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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [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.00218/0.00218, allocations: 67.88 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9532, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2104/1.164, allocations: 150.5 MB / 1.334 GB, free: 15.33 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006917/1.171, allocations: 5.515 MB / 1.339 GB, free: 9.801 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/1.171, allocations: 7.938 kB / 1.339 GB, free: 9.793 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006374/1.171, allocations: 202.7 kB / 1.339 GB, free: 9.594 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/1.172, allocations: 95.38 kB / 1.339 GB, free: 9.5 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/1.173, allocations: 0.5256 MB / 1.34 GB, free: 8.973 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005875/1.174, allocations: 414.5 kB / 1.34 GB, free: 8.566 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/1.174, allocations: 88.28 kB / 1.34 GB, free: 8.477 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/1.174, allocations: 199.3 kB / 1.34 GB, free: 8.281 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/1.175, allocations: 143.3 kB / 1.341 GB, free: 8.141 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/1.175, allocations: 16 kB / 1.341 GB, free: 8.125 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007281/1.175, allocations: 382.9 kB / 1.341 GB, free: 7.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/1.175, allocations: 67.75 kB / 1.341 GB, free: 7.684 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/1.176, allocations: 83.61 kB / 1.341 GB, free: 7.602 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000679/1.176, allocations: 462 kB / 1.342 GB, free: 7.152 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.176, allocations: 0 / 1.342 GB, free: 7.152 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.933e-06/1.176, allocations: 0 / 1.342 GB, free: 7.152 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.258e-05/1.176, allocations: 4 kB / 1.342 GB, free: 7.148 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000657/1.177, allocations: 465.3 kB / 1.342 GB, free: 6.664 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.177, allocations: 8.031 kB / 1.342 GB, free: 6.656 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/1.177, allocations: 43.84 kB / 1.342 GB, free: 6.613 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/1.178, allocations: 200.8 kB / 1.342 GB, free: 6.391 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/1.178, allocations: 238.1 kB / 1.342 GB, free: 6.109 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/1.178, allocations: 20 kB / 1.343 GB, free: 6.09 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/1.178, allocations: 293.9 kB / 1.343 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.178, allocations: 0 / 1.343 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/1.178, allocations: 12 kB / 1.343 GB, free: 5.754 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/1.178, allocations: 8 kB / 1.343 GB, free: 5.746 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/1.179, allocations: 164.5 kB / 1.343 GB, free: 5.586 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/1.18, allocations: 1.448 MB / 1.344 GB, free: 4.07 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/1.18, allocations: 169.1 kB / 1.345 GB, free: 3.895 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/1.18, allocations: 80.14 kB / 1.345 GB, free: 3.812 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/1.18, allocations: 79.28 kB / 1.345 GB, free: 3.734 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.348e-05/1.18, allocations: 113.8 kB / 1.345 GB, free: 3.613 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.18, allocations: 0 / 1.345 GB, free: 3.613 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.255e-05/1.18, allocations: 45.53 kB / 1.345 GB, free: 3.562 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/1.181, allocations: 126.7 kB / 1.345 GB, free: 3.426 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/1.181, allocations: 235.5 kB / 1.345 GB, free: 3.184 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.181, allocations: 25.7 kB / 1.345 GB, free: 3.152 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/1.181, allocations: 203.7 kB / 1.345 GB, free: 2.949 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/1.181, allocations: 3.984 kB / 1.345 GB, free: 2.945 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/1.181, allocations: 45.67 kB / 1.345 GB, free: 2.895 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.181, allocations: 326.8 kB / 1.346 GB, free: 2.566 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/1.181, allocations: 35.97 kB / 1.346 GB, free: 2.531 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/1.182, allocations: 169.1 kB / 1.346 GB, free: 2.305 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/1.182, allocations: 192.9 kB / 1.346 GB, free: 2.055 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.182, allocations: 4 kB / 1.346 GB, free: 2.051 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004247/1.182, allocations: 209.8 kB / 1.346 GB, free: 1.84 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.182, allocations: 8 kB / 1.346 GB, free: 1.832 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.182, allocations: 8 kB / 1.346 GB, free: 1.824 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/1.182, allocations: 7.938 kB / 1.346 GB, free: 1.816 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/1.182, allocations: 39.92 kB / 1.346 GB, free: 1.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.182, allocations: 8 kB / 1.346 GB, free: 1.77 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/1.183, allocations: 23.78 kB / 1.346 GB, free: 1.746 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/1.183, allocations: 12 kB / 1.346 GB, free: 1.734 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001575/1.183, allocations: 221 kB / 1.347 GB, free: 1.508 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/1.183, allocations: 120.8 kB / 1.347 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/1.183, allocations: 125.4 kB / 1.347 GB, free: 1.25 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.458e-05/1.183, allocations: 180.2 kB / 1.347 GB, free: 1.066 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/1.183, allocations: 180.3 kB / 1.347 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.628e-05/1.183, allocations: 176.3 kB / 1.347 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/1.184, allocations: 416.7 kB / 1.348 GB, free: 264 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.197e-05/1.184, allocations: 109.1 kB / 1.348 GB, free: 148 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/1.184, allocations: 112.9 kB / 1.348 GB, free: 28 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.464e-05/1.184, allocations: 180.3 kB / 1.348 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/1.184, allocations: 180.3 kB / 1.348 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-05/1.184, allocations: 188.1 kB / 1.349 GB, free: 15.47 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.442e-05/1.184, allocations: 180.2 kB / 1.349 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/1.184, allocations: 319.7 kB / 1.349 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/1.184, allocations: 124.9 kB / 1.349 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.184, allocations: 180.2 kB / 1.349 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/1.184, allocations: 112.9 kB / 1.349 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.185, allocations: 184.2 kB / 1.35 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/1.185, allocations: 101 kB / 1.35 GB, free: 14.23 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001691/1.185, allocations: 161.2 kB / 1.35 GB, free: 14.07 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.185, allocations: 0 / 1.35 GB, free: 14.07 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003815/1.185, allocations: 63.81 kB / 1.35 GB, free: 14.01 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002394/1.185, allocations: 198.5 kB / 1.35 GB, free: 13.8 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002008/1.186, allocations: 76.97 kB / 1.35 GB, free: 13.73 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.186, allocations: 4.062 kB / 1.35 GB, free: 13.73 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/1.186, allocations: 0 / 1.35 GB, free: 13.73 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/1.186, allocations: 467.6 kB / 1.351 GB, free: 13.27 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/1.187, allocations: 392.9 kB / 1.351 GB, free: 12.85 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/1.187, allocations: 128.8 kB / 1.351 GB, free: 12.7 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000108/1.187, allocations: 25.48 kB / 1.351 GB, free: 12.68 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/1.187, allocations: 20.5 kB / 1.351 GB, free: 12.66 MB / 1.201 GB Notification: Performance of SimCode: time 3.01e-07/1.187, allocations: 0 / 1.351 GB, free: 12.66 MB / 1.201 GB Notification: Performance of Templates: time 0.004492/1.191, allocations: 1.17 MB / 1.352 GB, free: 11.51 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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: 9.24705201399047]