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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001436/0.001436, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6785, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1546/0.8332, allocations: 145.8 MB / 1.092 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005155/0.8384, allocations: 4.619 MB / 1.096 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.8387, allocations: 12 kB / 1.097 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.8393, allocations: 131.1 kB / 1.097 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.8396, allocations: 75.56 kB / 1.097 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.8398, allocations: 59.95 kB / 1.097 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.8402, allocations: 366.5 kB / 1.097 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.8405, allocations: 136.1 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.8407, allocations: 103.5 kB / 1.097 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.841, allocations: 159.4 kB / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.841, allocations: 12 kB / 1.098 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.8411, allocations: 16 kB / 1.098 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.8412, allocations: 55.83 kB / 1.098 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.8413, allocations: 99.42 kB / 1.098 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.8415, allocations: 173.5 kB / 1.098 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8415, allocations: 0 / 1.098 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8415, allocations: 0 / 1.098 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.8415, allocations: 0 / 1.098 GB, free: 9.766 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005107/0.842, allocations: 491.2 kB / 1.098 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8421, allocations: 8.031 kB / 1.098 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.8421, allocations: 24.66 kB / 1.098 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.8424, allocations: 263.8 kB / 1.099 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.8424, allocations: 12.81 kB / 1.099 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.8425, allocations: 24.38 kB / 1.099 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.8429, allocations: 305 kB / 1.099 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8429, allocations: 3.938 kB / 1.099 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.8429, allocations: 12 kB / 1.099 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.843, allocations: 8 kB / 1.099 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.8432, allocations: 127.8 kB / 1.099 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.8445, allocations: 1.969 MB / 1.101 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.8446, allocations: 177.1 kB / 1.101 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.8447, allocations: 88.08 kB / 1.101 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.8447, allocations: 75.28 kB / 1.101 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.8447, allocations: 109.8 kB / 1.101 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.8447, allocations: 0 / 1.101 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.8449, allocations: 53.36 kB / 1.101 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.8449, allocations: 126.7 kB / 1.102 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.8453, allocations: 328.5 kB / 1.102 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.8453, allocations: 29.7 kB / 1.102 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.8455, allocations: 167.6 kB / 1.102 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-06/0.8455, allocations: 0 / 1.102 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.8455, allocations: 25.66 kB / 1.102 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8456, allocations: 338.8 kB / 1.102 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.8457, allocations: 8 kB / 1.102 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.8457, allocations: 58.86 kB / 1.102 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.147e-05/0.8458, allocations: 70.75 kB / 1.103 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8458, allocations: 0 / 1.103 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001668/0.846, allocations: 101.3 kB / 1.103 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.846, allocations: 4 kB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.846, allocations: 4.25 kB / 1.103 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.846, allocations: 7.938 kB / 1.103 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.8461, allocations: 15.94 kB / 1.103 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8462, allocations: 7.984 kB / 1.103 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.729e-05/0.8462, allocations: 27.69 kB / 1.103 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.8462, allocations: 4 kB / 1.103 GB, free: 4.363 MB / 0.8575 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.0001354/0.8464, allocations: 213 kB / 1.103 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.8465, allocations: 124.7 kB / 1.103 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.8465, allocations: 130 kB / 1.103 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.634e-05/0.8466, allocations: 184.2 kB / 1.103 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.167e-05/0.8467, allocations: 180.3 kB / 1.104 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.376e-05/0.8467, allocations: 180.3 kB / 1.104 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.847, allocations: 477.1 kB / 1.104 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/0.8471, allocations: 105 kB / 1.104 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.8471, allocations: 108.9 kB / 1.104 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.444e-05/0.8472, allocations: 180.2 kB / 1.105 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.341e-05/0.8473, allocations: 184.1 kB / 1.105 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.955e-05/0.8473, allocations: 184.2 kB / 1.105 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.963e-05/0.8474, allocations: 176.3 kB / 1.105 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.8476, allocations: 335.5 kB / 1.105 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8477, allocations: 205.8 kB / 1.106 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.8478, allocations: 188.2 kB / 1.106 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.8479, allocations: 101 kB / 1.106 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.848, allocations: 180.2 kB / 1.106 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.848, allocations: 113 kB / 1.106 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002297/0.8483, allocations: 239 kB / 1.106 GB, free: 448 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8483, allocations: 0 / 1.106 GB, free: 448 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002672/0.8485, allocations: 27.94 kB / 1.106 GB, free: 420 kB / 0.8575 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.0001218/0.8487, allocations: 174.5 kB / 1.107 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.8488, allocations: 28.25 kB / 1.107 GB, free: 208 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8488, allocations: 4 kB / 1.107 GB, free: 204 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.8488, allocations: 0 / 1.107 GB, free: 204 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.8496, allocations: 0.5972 MB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.8502, allocations: 476.6 kB / 1.108 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.8505, allocations: 0.7404 MB / 1.108 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.8506, allocations: 15.44 kB / 1.108 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.8506, allocations: 4 kB / 1.108 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.004543/0.8551, allocations: 2.593 MB / 1.111 GB, free: 11.73 MB / 0.8731 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/jenkins1/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