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.01321/0.01321, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.002461/0.002461, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.728/2.728, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3429, allocations: 151.6 MB / 1.167 GB, free: 6.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 1.109/1.452, allocations: 174.1 MB / 1.337 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01572/1.468, allocations: 9.507 MB / 1.346 GB, free: 7.805 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005611/1.469, allocations: 15 kB / 1.346 GB, free: 7.797 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000867/1.47, allocations: 192 kB / 1.346 GB, free: 7.668 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000564/1.47, allocations: 96.52 kB / 1.346 GB, free: 7.605 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/1.471, allocations: 63.25 kB / 1.346 GB, free: 7.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000745/1.471, allocations: 331.9 kB / 1.347 GB, free: 7.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/1.472, allocations: 205.2 kB / 1.347 GB, free: 7.316 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005328/1.472, allocations: 171.1 kB / 1.347 GB, free: 7.234 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/1.473, allocations: 120.6 kB / 1.347 GB, free: 7.172 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/1.473, allocations: 21.28 kB / 1.347 GB, free: 7.172 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/1.473, allocations: 22.09 kB / 1.347 GB, free: 7.172 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/1.473, allocations: 77.94 kB / 1.347 GB, free: 7.129 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/1.473, allocations: 126.8 kB / 1.347 GB, free: 7.051 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/1.473, allocations: 297.2 kB / 1.348 GB, free: 6.922 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.473, allocations: 0 / 1.348 GB, free: 6.922 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/1.473, allocations: 0 / 1.348 GB, free: 6.922 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.777e-05/1.474, allocations: 4 kB / 1.348 GB, free: 6.918 MB / 1.029 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.0006808/1.474, allocations: 0.5183 MB / 1.348 GB, free: 6.445 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.474, allocations: 10.34 kB / 1.348 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.065e-05/1.474, allocations: 34.78 kB / 1.348 GB, free: 6.426 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/1.475, allocations: 283.1 kB / 1.348 GB, free: 6.172 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/1.475, allocations: 18.88 kB / 1.348 GB, free: 6.164 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/1.475, allocations: 25.75 kB / 1.348 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/1.476, allocations: 329.4 kB / 1.349 GB, free: 5.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.476, allocations: 1.531 kB / 1.349 GB, free: 5.926 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/1.476, allocations: 10.81 kB / 1.349 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/1.476, allocations: 7.375 kB / 1.349 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/1.476, allocations: 145.4 kB / 1.349 GB, free: 5.863 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/1.478, allocations: 1.821 MB / 1.351 GB, free: 4.223 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/1.478, allocations: 170.2 kB / 1.351 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/1.478, allocations: 80.25 kB / 1.351 GB, free: 3.965 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/1.478, allocations: 83.22 kB / 1.351 GB, free: 3.883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/1.478, allocations: 111.1 kB / 1.351 GB, free: 3.766 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.478, allocations: 0 / 1.351 GB, free: 3.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001371/1.478, allocations: 58.86 kB / 1.351 GB, free: 3.715 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/1.478, allocations: 128.5 kB / 1.351 GB, free: 3.578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/1.479, allocations: 368.9 kB / 1.352 GB, free: 3.395 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.479, allocations: 29.7 kB / 1.352 GB, free: 3.359 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/1.479, allocations: 172.4 kB / 1.352 GB, free: 3.211 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/1.479, allocations: 3.938 kB / 1.352 GB, free: 3.207 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/1.479, allocations: 16.73 kB / 1.352 GB, free: 3.191 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.479, allocations: 338.2 kB / 1.352 GB, free: 2.867 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/1.479, allocations: 7.562 kB / 1.352 GB, free: 2.863 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/1.479, allocations: 31.38 kB / 1.352 GB, free: 2.824 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/1.479, allocations: 48.89 kB / 1.352 GB, free: 2.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.479, allocations: 0.875 kB / 1.352 GB, free: 2.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000204/1.48, allocations: 97.36 kB / 1.352 GB, free: 2.703 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.48, allocations: 5.25 kB / 1.352 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.48, allocations: 1.5 kB / 1.352 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.48, allocations: 1.438 kB / 1.352 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/1.48, allocations: 10.14 kB / 1.352 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/1.48, allocations: 1.688 kB / 1.352 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/1.48, allocations: 26.8 kB / 1.352 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/1.48, allocations: 6.25 kB / 1.352 GB, free: 2.684 MB / 1.029 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.0001863/1.48, allocations: 223 kB / 1.353 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.48, allocations: 137.6 kB / 1.353 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.239e-05/1.48, allocations: 125.1 kB / 1.353 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.899e-05/1.48, allocations: 181.9 kB / 1.353 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-05/1.48, allocations: 178.7 kB / 1.353 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.588e-05/1.48, allocations: 181.4 kB / 1.353 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/1.481, allocations: 496.8 kB / 1.354 GB, free: 1.207 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/1.481, allocations: 102.1 kB / 1.354 GB, free: 1.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/1.481, allocations: 113.9 kB / 1.354 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.936e-05/1.481, allocations: 183.7 kB / 1.354 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/1.481, allocations: 177.5 kB / 1.354 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.526e-05/1.481, allocations: 188.2 kB / 1.355 GB, free: 440 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.36e-05/1.481, allocations: 181.5 kB / 1.355 GB, free: 252 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/1.481, allocations: 329.4 kB / 1.355 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/1.482, allocations: 222.4 kB / 1.355 GB, free: 15.69 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.626e-05/1.482, allocations: 180.5 kB / 1.355 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.482, allocations: 110 kB / 1.356 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/1.482, allocations: 181 kB / 1.356 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/1.482, allocations: 102 kB / 1.356 GB, free: 15.11 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003404/1.482, allocations: 268.4 kB / 1.356 GB, free: 14.97 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/1.482, allocations: 0 / 1.356 GB, free: 14.97 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002917/1.483, allocations: 32.25 kB / 1.356 GB, free: 14.97 MB / 1.045 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.0001604/1.483, allocations: 175.3 kB / 1.356 GB, free: 14.8 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.195e-05/1.483, allocations: 16.16 kB / 1.356 GB, free: 14.8 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.483, allocations: 0 / 1.356 GB, free: 14.8 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/1.483, allocations: 0 / 1.356 GB, free: 14.8 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008466/1.484, allocations: 0.5498 MB / 1.357 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/1.484, allocations: 452.2 kB / 1.357 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/1.485, allocations: 0.7525 MB / 1.358 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001331/1.485, allocations: 29.17 kB / 1.358 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/1.485, allocations: 19.94 kB / 1.358 GB, free: 13.29 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/1.485, allocations: 4 kB / 1.358 GB, free: 13.29 MB / 1.045 GB Notification: Performance of Templates: time 0.008133/1.493, allocations: 3.179 MB / 1.361 GB, free: 13.05 MB / 1.045 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=480 -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