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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008673/0.008673, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 462.7 MB / 0.7364 GB, free: 236 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 9.188 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3664, allocations: 159.6 MB / 1.059 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2029/0.5694, allocations: 169.6 MB / 1.224 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.5802, allocations: 9.384 MB / 1.233 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.5807, allocations: 7.938 kB / 1.233 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.5813, allocations: 155 kB / 1.234 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.5816, allocations: 79.5 kB / 1.234 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.5818, allocations: 51.95 kB / 1.234 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.5822, allocations: 390.5 kB / 1.234 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.5826, allocations: 193.8 kB / 1.234 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.5829, allocations: 127.4 kB / 1.234 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.583, allocations: 95.44 kB / 1.235 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.5831, allocations: 4 kB / 1.235 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.203e-05/0.5831, allocations: 4 kB / 1.235 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.5832, allocations: 51.77 kB / 1.235 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.5833, allocations: 125.1 kB / 1.235 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.5835, allocations: 263 kB / 1.235 GB, free: 228 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5836, allocations: 4 kB / 1.235 GB, free: 224 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5836, allocations: 0 / 1.235 GB, free: 224 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.5836, allocations: 0 / 1.235 GB, free: 224 kB / 0.9825 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.0005074/0.5841, allocations: 472.5 kB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5841, allocations: 8.031 kB / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.5842, allocations: 35.56 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.5845, allocations: 265.1 kB / 1.236 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5845, allocations: 20.5 kB / 1.236 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.5846, allocations: 28 kB / 1.236 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.585, allocations: 324 kB / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.585, allocations: 11.94 kB / 1.236 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.5851, allocations: 12 kB / 1.236 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5851, allocations: 4 kB / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.5853, allocations: 151.6 kB / 1.236 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.5866, allocations: 1.812 MB / 1.238 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.5867, allocations: 165.1 kB / 1.238 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.5867, allocations: 92.14 kB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.5867, allocations: 79.22 kB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.5868, allocations: 109.8 kB / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5868, allocations: 0 / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.794e-05/0.5869, allocations: 53.41 kB / 1.238 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.5869, allocations: 126.7 kB / 1.239 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.5873, allocations: 377.6 kB / 1.239 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.5873, allocations: 29.7 kB / 1.239 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5875, allocations: 163.8 kB / 1.239 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.5875, allocations: 0 / 1.239 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.5875, allocations: 9.719 kB / 1.239 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5876, allocations: 338.8 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.5877, allocations: 7.984 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.5877, allocations: 36.23 kB / 1.24 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.5878, allocations: 44.23 kB / 1.24 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5878, allocations: 0 / 1.24 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001487/0.5879, allocations: 93.31 kB / 1.24 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5879, allocations: 5.719 kB / 1.24 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.588, allocations: 4 kB / 1.24 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.588, allocations: 3.984 kB / 1.24 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.588, allocations: 11.94 kB / 1.24 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5881, allocations: 0 / 1.24 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.5881, allocations: 31.53 kB / 1.24 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5881, allocations: 4 kB / 1.24 GB, free: 11.02 MB / 0.9981 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.0001362/0.5883, allocations: 213.2 kB / 1.24 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.5884, allocations: 140.6 kB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.5884, allocations: 123.1 kB / 1.24 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.798e-05/0.5885, allocations: 180.2 kB / 1.24 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.496e-05/0.5886, allocations: 188.2 kB / 1.241 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/0.5886, allocations: 184.4 kB / 1.241 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.5889, allocations: 0.4892 MB / 1.241 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.565e-05/0.589, allocations: 108.9 kB / 1.241 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.589, allocations: 101 kB / 1.241 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-05/0.5891, allocations: 184.2 kB / 1.242 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.5891, allocations: 176.3 kB / 1.242 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-05/0.5892, allocations: 184.2 kB / 1.242 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.814e-05/0.5893, allocations: 180.3 kB / 1.242 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.5894, allocations: 335.4 kB / 1.242 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.5895, allocations: 209.7 kB / 1.243 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/0.5896, allocations: 180.2 kB / 1.243 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5897, allocations: 105 kB / 1.243 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.5898, allocations: 184.3 kB / 1.243 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.5898, allocations: 104.9 kB / 1.243 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002379/0.5901, allocations: 267.2 kB / 1.243 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5901, allocations: 0 / 1.243 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002459/0.5903, allocations: 28 kB / 1.243 GB, free: 7 MB / 0.9981 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.0001366/0.5905, allocations: 182.5 kB / 1.244 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.895e-05/0.5905, allocations: 12.28 kB / 1.244 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5905, allocations: 0 / 1.244 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.5906, allocations: 0 / 1.244 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008918/0.5914, allocations: 0.6328 MB / 1.244 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.5921, allocations: 0.4889 MB / 1.245 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.5924, allocations: 0.7521 MB / 1.245 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.559e-05/0.5925, allocations: 38.91 kB / 1.245 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.5925, allocations: 19.44 kB / 1.245 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.5925, allocations: 0 / 1.245 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of Templates: time 0.006095/0.5986, allocations: 2.998 MB / 1.248 GB, free: 1.855 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches