Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007588/0.007588, allocations: 102.5 kB / 15.73 MB, free: 6.035 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.001512/0.001512, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.445/1.445, 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 9.1.3-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 62.84 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3535, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1919/0.5454, allocations: 148 MB / 1.232 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005905/0.5514, allocations: 4.646 MB / 1.237 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.5518, allocations: 8 kB / 1.237 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.5524, allocations: 166.8 kB / 1.237 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.5528, allocations: 87.45 kB / 1.237 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.553, allocations: 63.92 kB / 1.237 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000415/0.5534, allocations: 306.8 kB / 1.238 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.5538, allocations: 143.6 kB / 1.238 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.554, allocations: 111.6 kB / 1.238 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.5542, allocations: 155.4 kB / 1.238 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.5542, allocations: 16 kB / 1.238 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.419e-05/0.5543, allocations: 16 kB / 1.238 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.039e-05/0.5544, allocations: 63.81 kB / 1.238 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.5545, allocations: 103.4 kB / 1.238 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.5549, allocations: 243 kB / 1.238 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5549, allocations: 3.938 kB / 1.238 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.416e-06/0.5549, allocations: 3.984 kB / 1.238 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.5549, allocations: 0 / 1.238 GB, free: 6.762 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006224/0.5556, allocations: 491.1 kB / 1.239 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5556, allocations: 8.031 kB / 1.239 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.5557, allocations: 24.66 kB / 1.239 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.5561, allocations: 273.3 kB / 1.239 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5561, allocations: 20.75 kB / 1.239 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.5562, allocations: 20.38 kB / 1.239 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.5568, allocations: 309 kB / 1.24 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5568, allocations: 3.938 kB / 1.24 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.5569, allocations: 12 kB / 1.24 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5569, allocations: 4 kB / 1.24 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.5571, allocations: 127.8 kB / 1.24 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.5585, allocations: 1.965 MB / 1.242 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.5586, allocations: 169.1 kB / 1.242 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.5586, allocations: 84.08 kB / 1.242 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.5587, allocations: 75.28 kB / 1.242 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.5587, allocations: 113.8 kB / 1.242 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.5587, allocations: 0 / 1.242 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001048/0.5588, allocations: 53.36 kB / 1.242 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.5589, allocations: 126.7 kB / 1.242 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.5593, allocations: 332.5 kB / 1.243 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5593, allocations: 25.7 kB / 1.243 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.5595, allocations: 167.7 kB / 1.243 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.5595, allocations: 0 / 1.243 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.5596, allocations: 25.62 kB / 1.243 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002876/0.5599, allocations: 334.8 kB / 1.243 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.5599, allocations: 11.94 kB / 1.243 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/0.5599, allocations: 54.86 kB / 1.243 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.101e-05/0.56, allocations: 74.75 kB / 1.243 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.56, allocations: 0 / 1.243 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001866/0.5602, allocations: 101.3 kB / 1.243 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5603, allocations: 4 kB / 1.243 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5603, allocations: 4 kB / 1.243 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.5603, allocations: 11.88 kB / 1.243 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.5604, allocations: 12.19 kB / 1.243 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5604, allocations: 11.98 kB / 1.243 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.5605, allocations: 27.69 kB / 1.243 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.5605, allocations: 8 kB / 1.243 GB, free: 1.363 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0003419/0.5608, allocations: 209.1 kB / 1.244 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.561, allocations: 128.6 kB / 1.244 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.5611, allocations: 126 kB / 1.244 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.06e-05/0.5612, allocations: 184.2 kB / 1.244 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-05/0.5613, allocations: 180.3 kB / 1.244 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.719e-05/0.5613, allocations: 176.3 kB / 1.244 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.5619, allocations: 485 kB / 1.245 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/0.562, allocations: 105 kB / 1.245 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.5621, allocations: 104.9 kB / 1.245 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.606e-05/0.5621, allocations: 192.3 kB / 1.245 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.5622, allocations: 180.2 kB / 1.245 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000198/0.5624, allocations: 184.2 kB / 1.246 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.457e-05/0.5625, allocations: 176.3 kB / 1.246 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.5626, allocations: 331.5 kB / 1.246 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5628, allocations: 202.1 kB / 1.246 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.5629, allocations: 192.1 kB / 1.246 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.563, allocations: 105 kB / 1.246 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.5631, allocations: 180.2 kB / 1.247 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.5631, allocations: 101 kB / 1.247 GB, free: 13.67 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002273/0.5633, allocations: 247 kB / 1.247 GB, free: 13.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5633, allocations: 0 / 1.247 GB, free: 13.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003357/0.5637, allocations: 24 kB / 1.247 GB, free: 13.41 MB / 1.014 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.0001329/0.5638, allocations: 174.5 kB / 1.247 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.5639, allocations: 27.88 kB / 1.247 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5639, allocations: 0.5 kB / 1.247 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.5639, allocations: 4 kB / 1.247 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/0.5648, allocations: 0.5197 MB / 1.248 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.5655, allocations: 388.2 kB / 1.248 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.566, allocations: 0.748 MB / 1.249 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.192e-05/0.5661, allocations: 26.28 kB / 1.249 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.5661, allocations: 19.44 kB / 1.249 GB, free: 11.45 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.5661, allocations: 3.938 kB / 1.249 GB, free: 11.44 MB / 1.014 GB Notification: Performance of Templates: time 0.005773/0.5719, allocations: 2.424 MB / 1.251 GB, free: 9.062 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches