Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 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.001737/0.001737, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.41 kB / 0.912 GB, free: 33.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3287, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1694/0.498, allocations: 148 MB / 1.213 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006219/0.5043, allocations: 4.646 MB / 1.217 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.5047, allocations: 11.94 kB / 1.217 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.5053, allocations: 162.8 kB / 1.217 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.5059, allocations: 87.44 kB / 1.218 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.5061, allocations: 67.91 kB / 1.218 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.5065, allocations: 306.7 kB / 1.218 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.5068, allocations: 139.6 kB / 1.218 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.507, allocations: 111.6 kB / 1.218 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.5072, allocations: 159.4 kB / 1.218 GB, free: 172 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.5073, allocations: 16 kB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-05/0.5073, allocations: 16 kB / 1.218 GB, free: 140 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.5074, allocations: 63.81 kB / 1.218 GB, free: 76 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.5076, allocations: 99.53 kB / 1.218 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.5079, allocations: 227.4 kB / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5079, allocations: 0 / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5079, allocations: 0 / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5079, allocations: 0 / 1.219 GB, free: 15.75 MB / 0.9825 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.0006249/0.5085, allocations: 495.1 kB / 1.219 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5086, allocations: 12.03 kB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.5087, allocations: 28.66 kB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.509, allocations: 262.6 kB / 1.219 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.509, allocations: 12.81 kB / 1.219 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.509, allocations: 24.38 kB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.5094, allocations: 305 kB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5095, allocations: 4 kB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.5095, allocations: 12 kB / 1.22 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.5095, allocations: 8 kB / 1.22 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.5097, allocations: 131.7 kB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.5114, allocations: 1.957 MB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.5115, allocations: 177.1 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.5115, allocations: 84.12 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.579e-05/0.5116, allocations: 75.28 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.5117, allocations: 109.8 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.5117, allocations: 0 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.862e-05/0.5118, allocations: 53.3 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.5118, allocations: 134.7 kB / 1.222 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.5122, allocations: 332.4 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.5122, allocations: 33.58 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5123, allocations: 167.6 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-06/0.5123, allocations: 0 / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.5124, allocations: 17.72 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5125, allocations: 338.8 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.5125, allocations: 4 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.5126, allocations: 62.84 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.804e-05/0.5127, allocations: 70.75 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5127, allocations: 0 / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001743/0.5129, allocations: 109.4 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5129, allocations: 12.03 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5129, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5129, allocations: 7.938 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.513, allocations: 15.98 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.513, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.5131, allocations: 27.69 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.5131, allocations: 4 kB / 1.224 GB, free: 10.36 MB / 0.9825 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.000129/0.5132, allocations: 213 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.5133, allocations: 128.7 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.5134, allocations: 133.9 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.016e-05/0.5135, allocations: 176.3 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001077/0.5136, allocations: 176.3 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001116/0.5137, allocations: 184.2 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.514, allocations: 481.2 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/0.5141, allocations: 108.9 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.5141, allocations: 105 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.5142, allocations: 176.3 kB / 1.225 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.5143, allocations: 188.1 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.724e-05/0.5143, allocations: 176.4 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.276e-05/0.5144, allocations: 184.2 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.5145, allocations: 327.5 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.961e-05/0.5146, allocations: 210 kB / 1.226 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.5147, allocations: 180.2 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.5148, allocations: 104.9 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.5149, allocations: 184.3 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.515, allocations: 112.9 kB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002403/0.5152, allocations: 239 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5152, allocations: 0 / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002676/0.5155, allocations: 24 kB / 1.227 GB, free: 6.402 MB / 0.9825 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.0001271/0.5156, allocations: 175 kB / 1.227 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.969e-05/0.5157, allocations: 27.94 kB / 1.227 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5157, allocations: 0 / 1.227 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.5158, allocations: 3.938 kB / 1.227 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.5165, allocations: 0.5218 MB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.5171, allocations: 407.7 kB / 1.228 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.5174, allocations: 0.7401 MB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.5175, allocations: 30.28 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.5176, allocations: 15.44 kB / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.5176, allocations: 0 / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of Templates: time 0.005992/0.5236, allocations: 2.338 MB / 1.231 GB, free: 2.129 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches