Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001697/0.001697, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001946/0.001946, allocations: 219.3 kB / 23 MB, free: 4.914 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.531/3.531, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [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.002126/0.002126, allocations: 67.36 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 181.9 MB / 1.365 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2087/0.5865, allocations: 153.7 MB / 1.515 GB, free: 3.242 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.5986, allocations: 8.651 MB / 1.523 GB, free: 10.56 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.599, allocations: 11.94 kB / 1.523 GB, free: 10.55 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.5997, allocations: 202.6 kB / 1.523 GB, free: 10.35 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.6002, allocations: 87.31 kB / 1.523 GB, free: 10.27 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.6004, allocations: 67.92 kB / 1.524 GB, free: 10.2 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.601, allocations: 330.6 kB / 1.524 GB, free: 9.875 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.6014, allocations: 129.4 kB / 1.524 GB, free: 9.746 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.6019, allocations: 179.3 kB / 1.524 GB, free: 9.57 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.6021, allocations: 107.5 kB / 1.524 GB, free: 9.465 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.6022, allocations: 24 kB / 1.524 GB, free: 9.441 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.6022, allocations: 20 kB / 1.524 GB, free: 9.422 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.6023, allocations: 75.75 kB / 1.524 GB, free: 9.348 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.6025, allocations: 103.5 kB / 1.524 GB, free: 9.246 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.6029, allocations: 306.6 kB / 1.525 GB, free: 8.945 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6029, allocations: 0 / 1.525 GB, free: 8.945 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6029, allocations: 0 / 1.525 GB, free: 8.945 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.6029, allocations: 0 / 1.525 GB, free: 8.945 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006702/0.6036, allocations: 449.6 kB / 1.525 GB, free: 8.477 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.6036, allocations: 12.03 kB / 1.525 GB, free: 8.465 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.6037, allocations: 35.75 kB / 1.525 GB, free: 8.43 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.6042, allocations: 220.7 kB / 1.525 GB, free: 8.188 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.6042, allocations: 20.66 kB / 1.525 GB, free: 8.168 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.6043, allocations: 24 kB / 1.525 GB, free: 8.145 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.6048, allocations: 321.2 kB / 1.526 GB, free: 7.781 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.6048, allocations: 11.88 kB / 1.526 GB, free: 7.77 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.6049, allocations: 15.94 kB / 1.526 GB, free: 7.754 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.6049, allocations: 4 kB / 1.526 GB, free: 7.75 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.6051, allocations: 143.7 kB / 1.526 GB, free: 7.609 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.6066, allocations: 1.633 MB / 1.528 GB, free: 5.898 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.6068, allocations: 165.1 kB / 1.528 GB, free: 5.727 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.6068, allocations: 80.14 kB / 1.528 GB, free: 5.645 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.6069, allocations: 75.28 kB / 1.528 GB, free: 5.57 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.47e-05/0.6069, allocations: 117.7 kB / 1.528 GB, free: 5.445 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.6069, allocations: 0 / 1.528 GB, free: 5.445 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 9.246e-05/0.607, allocations: 33.66 kB / 1.528 GB, free: 5.406 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.6071, allocations: 130.7 kB / 1.528 GB, free: 5.266 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.6073, allocations: 162.6 kB / 1.528 GB, free: 5.094 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.6073, allocations: 25.7 kB / 1.528 GB, free: 5.062 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.6075, allocations: 199.9 kB / 1.529 GB, free: 4.863 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-06/0.6075, allocations: 4 kB / 1.529 GB, free: 4.859 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.6075, allocations: 17.72 kB / 1.529 GB, free: 4.836 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6077, allocations: 322.8 kB / 1.529 GB, free: 4.512 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.6077, allocations: 0 / 1.529 GB, free: 4.512 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.6078, allocations: 44.23 kB / 1.529 GB, free: 4.453 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/0.6078, allocations: 44.22 kB / 1.529 GB, free: 4.395 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6078, allocations: 4 kB / 1.529 GB, free: 4.391 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.608, allocations: 69.58 kB / 1.529 GB, free: 4.316 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.608, allocations: 13.66 kB / 1.529 GB, free: 4.305 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.608, allocations: 0 / 1.529 GB, free: 4.305 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6081, allocations: 0 / 1.529 GB, free: 4.305 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.6081, allocations: 11.94 kB / 1.529 GB, free: 4.293 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.6081, allocations: 4 kB / 1.529 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.6082, allocations: 112 / 1.529 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.6082, allocations: 8.094 kB / 1.529 GB, free: 4.281 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001721/0.6084, allocations: 213.8 kB / 1.529 GB, free: 4.062 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.6085, allocations: 124.8 kB / 1.529 GB, free: 3.934 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.651e-05/0.6085, allocations: 125.2 kB / 1.529 GB, free: 3.801 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.385e-05/0.6086, allocations: 180.3 kB / 1.53 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.179e-05/0.6087, allocations: 180.2 kB / 1.53 GB, free: 3.434 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.271e-05/0.6088, allocations: 184.3 kB / 1.53 GB, free: 3.246 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.6092, allocations: 420.7 kB / 1.53 GB, free: 2.797 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.698e-05/0.6092, allocations: 105 kB / 1.53 GB, free: 2.688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.6093, allocations: 105 kB / 1.531 GB, free: 2.578 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.989e-05/0.6093, allocations: 192.2 kB / 1.531 GB, free: 2.383 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.102e-05/0.6094, allocations: 184.2 kB / 1.531 GB, free: 2.195 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.211e-05/0.6095, allocations: 184.2 kB / 1.531 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-05/0.6096, allocations: 176.3 kB / 1.531 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.6098, allocations: 315.7 kB / 1.532 GB, free: 1.496 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.6099, allocations: 108.9 kB / 1.532 GB, free: 1.383 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.61, allocations: 184.1 kB / 1.532 GB, free: 1.195 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.6101, allocations: 109 kB / 1.532 GB, free: 1.082 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.6102, allocations: 180.2 kB / 1.532 GB, free: 0.8984 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.6102, allocations: 105 kB / 1.532 GB, free: 0.7891 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000108/0.6103, allocations: 119.2 kB / 1.532 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6103, allocations: 4 kB / 1.532 GB, free: 0.668 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003126/0.6106, allocations: 47.73 kB / 1.532 GB, free: 0.6211 MB / 1.217 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.0001679/0.6108, allocations: 174.5 kB / 1.533 GB, free: 448 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 9.155e-05/0.6109, allocations: 15.94 kB / 1.533 GB, free: 432 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6109, allocations: 0 / 1.533 GB, free: 432 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.6109, allocations: 0 / 1.533 GB, free: 432 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.6114, allocations: 463.7 kB / 1.533 GB, free: 15.96 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.6122, allocations: 463.2 kB / 1.533 GB, free: 15.48 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.6123, allocations: 141.2 kB / 1.534 GB, free: 15.32 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.6124, allocations: 11.44 kB / 1.534 GB, free: 15.31 MB / 1.232 GB Notification: Performance of SimCode: time 8.12e-07/0.6124, allocations: 0 / 1.534 GB, free: 15.31 MB / 1.232 GB Notification: Performance of Templates: time 0.00412/0.6165, allocations: 1.779 MB / 1.535 GB, free: 13.53 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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: 12.043789108749479]