Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001512/0.001512, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001444/0.001444, allocations: 194 kB / 16.14 MB, free: 6.684 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.851/2.851, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 56.09 kB / 0.8685 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7865/0.7885, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2153/1.004, allocations: 171.9 MB / 1.184 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01069/1.015, allocations: 9.515 MB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/1.015, allocations: 7.938 kB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000716/1.016, allocations: 155 kB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002743/1.016, allocations: 83.48 kB / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/1.016, allocations: 55.95 kB / 1.194 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004856/1.017, allocations: 390.5 kB / 1.194 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/1.017, allocations: 201.7 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/1.018, allocations: 155.4 kB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/1.018, allocations: 123.4 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/1.018, allocations: 16 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/1.018, allocations: 16 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/1.018, allocations: 71.75 kB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/1.018, allocations: 123.3 kB / 1.195 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/1.019, allocations: 271.1 kB / 1.195 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.019, allocations: 0 / 1.195 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.82e-07/1.019, allocations: 0 / 1.195 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.019, allocations: 4 kB / 1.195 GB, free: 11.13 MB / 0.9512 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.0006234/1.019, allocations: 0.5107 MB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.019, allocations: 8.031 kB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/1.019, allocations: 35.66 kB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/1.02, allocations: 274.2 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/1.02, allocations: 20.56 kB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/1.02, allocations: 24 kB / 1.196 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/1.02, allocations: 328 kB / 1.197 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.02, allocations: 3.938 kB / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/1.02, allocations: 12 kB / 1.197 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/1.02, allocations: 12 kB / 1.197 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/1.021, allocations: 143.7 kB / 1.197 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/1.022, allocations: 1.816 MB / 1.198 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/1.022, allocations: 165.1 kB / 1.199 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/1.022, allocations: 84.14 kB / 1.199 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/1.022, allocations: 83.22 kB / 1.199 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/1.023, allocations: 109.8 kB / 1.199 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/1.023, allocations: 0 / 1.199 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001178/1.023, allocations: 53.42 kB / 1.199 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/1.023, allocations: 126.7 kB / 1.199 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/1.023, allocations: 373.7 kB / 1.199 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/1.023, allocations: 25.7 kB / 1.199 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/1.023, allocations: 171.8 kB / 1.2 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/1.023, allocations: 0 / 1.2 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/1.023, allocations: 21.72 kB / 1.2 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.024, allocations: 334.8 kB / 1.2 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/1.024, allocations: 4 kB / 1.2 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.412e-05/1.024, allocations: 40.22 kB / 1.2 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/1.024, allocations: 44.23 kB / 1.2 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.024, allocations: 4 kB / 1.2 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000167/1.024, allocations: 81.41 kB / 1.2 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.024, allocations: 12.03 kB / 1.2 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.024, allocations: 0 / 1.2 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.024, allocations: 3.984 kB / 1.2 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/1.024, allocations: 11.94 kB / 1.2 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.024, allocations: 4 kB / 1.2 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/1.024, allocations: 35.58 kB / 1.2 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/1.024, allocations: 0 / 1.2 GB, free: 5.859 MB / 0.9512 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.0001795/1.024, allocations: 209.1 kB / 1.2 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/1.025, allocations: 140.6 kB / 1.2 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.732e-05/1.025, allocations: 127 kB / 1.201 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-05/1.025, allocations: 188.3 kB / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-05/1.025, allocations: 180.3 kB / 1.201 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.722e-05/1.025, allocations: 180.2 kB / 1.201 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/1.025, allocations: 0.4893 MB / 1.202 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-05/1.025, allocations: 104.9 kB / 1.202 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/1.025, allocations: 109.1 kB / 1.202 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.354e-05/1.026, allocations: 180.2 kB / 1.202 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.318e-05/1.026, allocations: 184.3 kB / 1.202 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.099e-05/1.026, allocations: 184.2 kB / 1.202 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.828e-05/1.026, allocations: 180.3 kB / 1.203 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/1.026, allocations: 331.4 kB / 1.203 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/1.026, allocations: 209.7 kB / 1.203 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.026, allocations: 180.2 kB / 1.203 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/1.026, allocations: 109 kB / 1.203 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/1.026, allocations: 180.3 kB / 1.203 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/1.027, allocations: 104.9 kB / 1.204 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002958/1.027, allocations: 271.2 kB / 1.204 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.027, allocations: 0 / 1.204 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002651/1.027, allocations: 31.94 kB / 1.204 GB, free: 1.832 MB / 0.9512 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.0001712/1.027, allocations: 171.1 kB / 1.204 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.522e-05/1.027, allocations: 27.92 kB / 1.204 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.027, allocations: 0 / 1.204 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/1.027, allocations: 0 / 1.204 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.028, allocations: 0.6176 MB / 1.205 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/1.029, allocations: 495 kB / 1.205 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/1.03, allocations: 0.756 MB / 1.206 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001063/1.03, allocations: 34.95 kB / 1.206 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/1.03, allocations: 19.44 kB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/1.03, allocations: 0 / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of Templates: time 0.007316/1.037, allocations: 3.013 MB / 1.209 GB, free: 12.7 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches