Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001631/0.001631, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001889/0.001889, allocations: 194.9 kB / 16.25 MB, free: 6.641 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.524/1.524, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7976, allocations: 140.4 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2077/1.005, allocations: 171.7 MB / 1.117 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009213/1.015, allocations: 9.434 MB / 1.126 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/1.015, allocations: 11.94 kB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005944/1.016, allocations: 159.1 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002555/1.016, allocations: 87.44 kB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/1.016, allocations: 59.94 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004094/1.017, allocations: 322.7 kB / 1.127 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/1.017, allocations: 212.8 kB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/1.017, allocations: 163.4 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/1.017, allocations: 127.4 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/1.017, allocations: 28 kB / 1.127 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.578e-05/1.017, allocations: 23.94 kB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.699e-05/1.018, allocations: 71.83 kB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/1.018, allocations: 131.3 kB / 1.127 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/1.018, allocations: 275 kB / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.018, allocations: 0 / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/1.018, allocations: 0 / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.018, allocations: 0 / 1.128 GB, free: 10.65 MB / 0.8887 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.0005366/1.019, allocations: 0.5145 MB / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.019, allocations: 8.031 kB / 1.128 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/1.019, allocations: 39.64 kB / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/1.019, allocations: 262.5 kB / 1.128 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/1.019, allocations: 16.56 kB / 1.128 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/1.019, allocations: 31.94 kB / 1.128 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/1.02, allocations: 320 kB / 1.129 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.02, allocations: 4 kB / 1.129 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/1.02, allocations: 12 kB / 1.129 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/1.02, allocations: 4 kB / 1.129 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/1.02, allocations: 147.6 kB / 1.129 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/1.021, allocations: 1.816 MB / 1.131 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/1.021, allocations: 177.2 kB / 1.131 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/1.021, allocations: 80.14 kB / 1.131 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/1.021, allocations: 79.22 kB / 1.131 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.021, allocations: 105.8 kB / 1.131 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/1.021, allocations: 4 kB / 1.131 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.399e-05/1.022, allocations: 57.38 kB / 1.131 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/1.022, allocations: 130.6 kB / 1.131 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/1.022, allocations: 373.7 kB / 1.132 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/1.022, allocations: 25.7 kB / 1.132 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.022, allocations: 171.8 kB / 1.132 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/1.022, allocations: 0 / 1.132 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/1.022, allocations: 17.72 kB / 1.132 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.022, allocations: 342.8 kB / 1.132 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/1.022, allocations: 0 / 1.132 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/1.022, allocations: 40.28 kB / 1.132 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/1.022, allocations: 44.23 kB / 1.132 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.022, allocations: 0 / 1.132 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001517/1.023, allocations: 89.22 kB / 1.132 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.023, allocations: 4 kB / 1.132 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.023, allocations: 4 kB / 1.132 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/1.023, allocations: 0 / 1.132 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/1.023, allocations: 20.27 kB / 1.132 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/1.023, allocations: 7.938 kB / 1.132 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/1.023, allocations: 27.59 kB / 1.132 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/1.023, allocations: 4 kB / 1.132 GB, free: 5.379 MB / 0.8887 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.0001299/1.023, allocations: 209.1 kB / 1.133 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/1.023, allocations: 128.6 kB / 1.133 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/1.023, allocations: 134.9 kB / 1.133 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/1.023, allocations: 184.2 kB / 1.133 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-05/1.023, allocations: 180.2 kB / 1.133 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.079e-05/1.023, allocations: 184.2 kB / 1.133 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/1.024, allocations: 485.1 kB / 1.134 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.736e-05/1.024, allocations: 108.9 kB / 1.134 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/1.024, allocations: 105 kB / 1.134 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.684e-05/1.024, allocations: 184.2 kB / 1.134 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/1.024, allocations: 180.3 kB / 1.134 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.519e-05/1.024, allocations: 184.2 kB / 1.135 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.509e-05/1.024, allocations: 184.2 kB / 1.135 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/1.024, allocations: 335.3 kB / 1.135 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/1.024, allocations: 213.7 kB / 1.135 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/1.024, allocations: 180.2 kB / 1.135 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/1.024, allocations: 104.9 kB / 1.136 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/1.025, allocations: 180.2 kB / 1.136 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/1.025, allocations: 108.9 kB / 1.136 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002462/1.025, allocations: 275.2 kB / 1.136 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 0 / 1.136 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002425/1.025, allocations: 31.94 kB / 1.136 GB, free: 1.355 MB / 0.8887 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.0001277/1.025, allocations: 170.5 kB / 1.136 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.99e-05/1.025, allocations: 19.92 kB / 1.136 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.025, allocations: 0 / 1.136 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/1.025, allocations: 320 / 1.136 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/1.026, allocations: 0.554 MB / 1.137 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/1.027, allocations: 497.2 kB / 1.137 GB, free: 92 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/1.027, allocations: 0.7558 MB / 1.138 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001039/1.027, allocations: 34.95 kB / 1.138 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/1.027, allocations: 19.44 kB / 1.138 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/1.027, allocations: 3.938 kB / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.006962/1.034, allocations: 3.143 MB / 1.141 GB, free: 12.17 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches