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.00133/0.001329, allocations: 106 kB / 16.27 MB, free: 6.113 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.001403/0.001403, allocations: 196.2 kB / 17.2 MB, free: 5.723 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.352/2.352, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.56 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2977, allocations: 140.4 MB / 0.9503 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7761/1.074, allocations: 174.1 MB / 1.12 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01056/1.084, allocations: 9.517 MB / 1.13 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006291/1.085, allocations: 8.969 kB / 1.13 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/1.086, allocations: 190.8 kB / 1.13 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003481/1.086, allocations: 90.42 kB / 1.13 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/1.087, allocations: 66.48 kB / 1.13 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004345/1.087, allocations: 326 kB / 1.13 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/1.087, allocations: 200.8 kB / 1.13 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/1.088, allocations: 171.9 kB / 1.131 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/1.088, allocations: 119.4 kB / 1.131 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/1.088, allocations: 22.97 kB / 1.131 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/1.088, allocations: 22.41 kB / 1.131 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/1.088, allocations: 75.36 kB / 1.131 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/1.088, allocations: 124.2 kB / 1.131 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/1.089, allocations: 279.3 kB / 1.131 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.089, allocations: 4 kB / 1.131 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.545e-06/1.089, allocations: 0 / 1.131 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.089, allocations: 0.9375 kB / 1.131 GB, free: 5.203 MB / 0.8575 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.0008077/1.09, allocations: 0.5197 MB / 1.132 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.09, allocations: 9.062 kB / 1.132 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/1.09, allocations: 31.81 kB / 1.132 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/1.09, allocations: 261.7 kB / 1.132 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/1.09, allocations: 18.47 kB / 1.132 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/1.09, allocations: 26.94 kB / 1.132 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/1.091, allocations: 323.7 kB / 1.132 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.091, allocations: 8.5 kB / 1.132 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/1.091, allocations: 9.594 kB / 1.132 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/1.091, allocations: 16.78 kB / 1.132 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/1.091, allocations: 145.5 kB / 1.132 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/1.093, allocations: 1.815 MB / 1.134 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.412e-05/1.093, allocations: 166.4 kB / 1.134 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/1.093, allocations: 88.08 kB / 1.134 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/1.093, allocations: 78.41 kB / 1.135 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/1.093, allocations: 110.8 kB / 1.135 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/1.093, allocations: 0 / 1.135 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001069/1.093, allocations: 57.11 kB / 1.135 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/1.093, allocations: 129.3 kB / 1.135 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/1.094, allocations: 372.5 kB / 1.135 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/1.094, allocations: 29.7 kB / 1.135 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.094, allocations: 169.5 kB / 1.135 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/1.094, allocations: 0 / 1.135 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/1.094, allocations: 23.33 kB / 1.135 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.094, allocations: 335.5 kB / 1.136 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/1.094, allocations: 8.156 kB / 1.136 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/1.094, allocations: 37.23 kB / 1.136 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.33e-05/1.094, allocations: 43.03 kB / 1.136 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.094, allocations: 2.125 kB / 1.136 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001875/1.094, allocations: 93.66 kB / 1.136 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.094, allocations: 5.656 kB / 1.136 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.094, allocations: 1.156 kB / 1.136 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.094, allocations: 2.719 kB / 1.136 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/1.094, allocations: 10.27 kB / 1.136 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.094, allocations: 1.594 kB / 1.136 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.203e-05/1.095, allocations: 29.78 kB / 1.136 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/1.095, allocations: 3.188 kB / 1.136 GB, free: 17.55 MB / 0.8731 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.0001626/1.095, allocations: 220.2 kB / 1.136 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/1.095, allocations: 132.5 kB / 1.136 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.701e-05/1.095, allocations: 127.5 kB / 1.136 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.973e-05/1.095, allocations: 182.8 kB / 1.137 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.666e-05/1.095, allocations: 177.4 kB / 1.137 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.632e-05/1.095, allocations: 184.5 kB / 1.137 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/1.095, allocations: 493.8 kB / 1.137 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/1.096, allocations: 103.6 kB / 1.138 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/1.096, allocations: 110.1 kB / 1.138 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.137e-05/1.096, allocations: 179.9 kB / 1.138 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/1.096, allocations: 180.5 kB / 1.138 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.476e-05/1.096, allocations: 187.8 kB / 1.138 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.685e-05/1.096, allocations: 180.9 kB / 1.138 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/1.096, allocations: 343.3 kB / 1.139 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.096, allocations: 209 kB / 1.139 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-05/1.096, allocations: 185 kB / 1.139 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/1.096, allocations: 104.7 kB / 1.139 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/1.097, allocations: 177.3 kB / 1.139 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/1.097, allocations: 107.9 kB / 1.139 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000306/1.097, allocations: 267 kB / 1.14 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.097, allocations: 1.594 kB / 1.14 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000325/1.097, allocations: 34.44 kB / 1.14 GB, free: 13.98 MB / 0.8731 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.0001651/1.097, allocations: 177.2 kB / 1.14 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.639e-05/1.097, allocations: 12.59 kB / 1.14 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.097, allocations: 0 / 1.14 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/1.097, allocations: 2.531 kB / 1.14 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/1.098, allocations: 0.5568 MB / 1.14 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/1.099, allocations: 474.6 kB / 1.141 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.1, allocations: 0.7573 MB / 1.142 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/1.1, allocations: 19.38 kB / 1.142 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/1.1, allocations: 0 / 1.142 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.006354/1.106, allocations: 3.114 MB / 1.145 GB, free: 12.07 MB / 0.8731 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/jenkins1/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