Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00156/0.00156, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002107/0.002107, allocations: 211.5 kB / 23 MB, free: 4.973 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.779/1.779, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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 3.479/3.479, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 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.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_12_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_12_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.002086/0.002086, allocations: 66.97 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4904, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2386/0.729, allocations: 150.5 MB / 1.474 GB, free: 9.93 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007944/0.7369, allocations: 5.527 MB / 1.479 GB, free: 4.387 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.7373, allocations: 11.94 kB / 1.479 GB, free: 4.375 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.7381, allocations: 186.7 kB / 1.48 GB, free: 4.191 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.7385, allocations: 103.4 kB / 1.48 GB, free: 4.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.7401, allocations: 0.5217 MB / 1.48 GB, free: 3.566 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000596/0.7407, allocations: 410.7 kB / 1.481 GB, free: 3.164 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.741, allocations: 96.2 kB / 1.481 GB, free: 3.062 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.7414, allocations: 199.2 kB / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.7416, allocations: 151.4 kB / 1.481 GB, free: 2.719 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.7417, allocations: 16 kB / 1.481 GB, free: 2.703 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.7425, allocations: 382.9 kB / 1.481 GB, free: 2.328 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.7426, allocations: 75.75 kB / 1.482 GB, free: 2.254 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.7427, allocations: 83.59 kB / 1.482 GB, free: 2.172 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007246/0.7434, allocations: 454.3 kB / 1.482 GB, free: 1.727 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7434, allocations: 0 / 1.482 GB, free: 1.727 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7434, allocations: 0 / 1.482 GB, free: 1.727 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.7434, allocations: 0 / 1.482 GB, free: 1.727 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007461/0.7442, allocations: 461.3 kB / 1.482 GB, free: 1.246 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.7442, allocations: 8.031 kB / 1.483 GB, free: 1.238 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.7446, allocations: 39.84 kB / 1.483 GB, free: 1.199 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.745, allocations: 212.7 kB / 1.483 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.7453, allocations: 238.1 kB / 1.483 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.7453, allocations: 20 kB / 1.483 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.7459, allocations: 301.9 kB / 1.483 GB, free: 340 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.7459, allocations: 3.938 kB / 1.483 GB, free: 336 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.7459, allocations: 8 kB / 1.483 GB, free: 328 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.7459, allocations: 8 kB / 1.483 GB, free: 320 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.7462, allocations: 156.6 kB / 1.483 GB, free: 164 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.748, allocations: 1.455 MB / 1.485 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.7481, allocations: 169.1 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.7482, allocations: 88.11 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.7482, allocations: 75.28 kB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.104e-05/0.7483, allocations: 109.8 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.7483, allocations: 0 / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001184/0.7484, allocations: 41.55 kB / 1.485 GB, free: 14.13 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.7485, allocations: 59.39 kB / 1.485 GB, free: 14.06 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.7489, allocations: 239 kB / 1.486 GB, free: 13.82 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.7489, allocations: 25.7 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.7491, allocations: 203.6 kB / 1.486 GB, free: 13.58 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.7491, allocations: 8 kB / 1.486 GB, free: 13.57 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.7492, allocations: 45.66 kB / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.7494, allocations: 318.8 kB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.7495, allocations: 39.97 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.7498, allocations: 162.2 kB / 1.486 GB, free: 12.94 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.7501, allocations: 200.8 kB / 1.487 GB, free: 12.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7501, allocations: 0 / 1.487 GB, free: 12.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004823/0.7506, allocations: 209.2 kB / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.7506, allocations: 8 kB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.7506, allocations: 4 kB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.7506, allocations: 11.94 kB / 1.487 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.7508, allocations: 39.91 kB / 1.487 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7508, allocations: 7.938 kB / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.751, allocations: 32.31 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.751, allocations: 12 kB / 1.487 GB, free: 12.36 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.0001951/0.7512, allocations: 217.6 kB / 1.487 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.7513, allocations: 108.9 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.049e-05/0.7514, allocations: 125.4 kB / 1.487 GB, free: 11.89 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/0.7515, allocations: 180.3 kB / 1.487 GB, free: 11.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.118e-05/0.7516, allocations: 105 kB / 1.488 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.7516, allocations: 128.8 kB / 1.488 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.7518, allocations: 180.3 kB / 1.488 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.7519, allocations: 108.9 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.752, allocations: 180.3 kB / 1.488 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001374/0.7521, allocations: 263.5 kB / 1.488 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002554/0.7524, allocations: 394.9 kB / 1.489 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.162e-05/0.7525, allocations: 104.9 kB / 1.489 GB, free: 10.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001976/0.7527, allocations: 164.2 kB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of Backend: time 5.11e-07/0.7527, allocations: 0 / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009354/0.7536, allocations: 258 kB / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of SimCode: time 0.001113/0.7547, allocations: 1.074 MB / 1.49 GB, free: 8.66 MB / 1.186 GB Notification: Performance of Templates: time 0.007533/0.7622, allocations: 2.876 MB / 1.493 GB, free: 5.801 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.890184977004537]