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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001183/0.001183, allocations: 98.72 kB / 16.02 MB, free: 76 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.00171/0.00171, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.457/1.457, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 443.2 MB / 0.7181 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 13.14 kB / 0.8801 GB, free: 42.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3298, allocations: 155.1 MB / 1.032 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1658/0.4957, allocations: 143.9 MB / 1.172 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005206/0.5009, allocations: 4.557 MB / 1.177 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.5013, allocations: 7.938 kB / 1.177 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.5018, allocations: 131.2 kB / 1.177 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.5022, allocations: 79.56 kB / 1.177 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.5023, allocations: 59.95 kB / 1.177 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.5027, allocations: 362.7 kB / 1.177 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.5031, allocations: 132 kB / 1.177 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.5032, allocations: 87.58 kB / 1.177 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.5034, allocations: 135.5 kB / 1.178 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.5035, allocations: 4 kB / 1.178 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.5035, allocations: 4 kB / 1.178 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.5036, allocations: 55.75 kB / 1.178 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.5037, allocations: 113.1 kB / 1.178 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.5039, allocations: 163.8 kB / 1.178 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5039, allocations: 0 / 1.178 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5039, allocations: 4 kB / 1.178 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5039, allocations: 0 / 1.178 GB, free: 14.43 MB / 0.9356 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.0005032/0.5044, allocations: 443.4 kB / 1.178 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5045, allocations: 15.98 kB / 1.178 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.5045, allocations: 28.56 kB / 1.178 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.5048, allocations: 260.8 kB / 1.179 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.5048, allocations: 16.81 kB / 1.179 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.5049, allocations: 20.36 kB / 1.179 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.5053, allocations: 309 kB / 1.179 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5054, allocations: 3.938 kB / 1.179 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.5054, allocations: 12 kB / 1.179 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5054, allocations: 8 kB / 1.179 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.5056, allocations: 131.7 kB / 1.179 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.5071, allocations: 1.961 MB / 1.181 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.5072, allocations: 173.1 kB / 1.181 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.5072, allocations: 84.14 kB / 1.181 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.5073, allocations: 75.28 kB / 1.181 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.5073, allocations: 109.8 kB / 1.181 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/0.5073, allocations: 0 / 1.181 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.198e-05/0.5074, allocations: 61.3 kB / 1.181 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.5075, allocations: 130.7 kB / 1.182 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.5079, allocations: 324.5 kB / 1.182 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5079, allocations: 29.69 kB / 1.182 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.508, allocations: 163.6 kB / 1.182 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.508, allocations: 0 / 1.182 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.5081, allocations: 17.72 kB / 1.182 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5082, allocations: 330.8 kB / 1.182 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.5082, allocations: 8 kB / 1.182 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.084e-05/0.5083, allocations: 58.86 kB / 1.182 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.5084, allocations: 74.75 kB / 1.183 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5084, allocations: 0 / 1.183 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001888/0.5086, allocations: 109.4 kB / 1.183 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5086, allocations: 4 kB / 1.183 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5086, allocations: 4 kB / 1.183 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5087, allocations: 3.938 kB / 1.183 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.5087, allocations: 12 kB / 1.183 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.5088, allocations: 12.08 kB / 1.183 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.5088, allocations: 27.62 kB / 1.183 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.5089, allocations: 4 kB / 1.183 GB, free: 9.086 MB / 0.9356 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.0001558/0.509, allocations: 210.7 kB / 1.183 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.5091, allocations: 136.7 kB / 1.183 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.5092, allocations: 129.9 kB / 1.183 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-05/0.5093, allocations: 176.3 kB / 1.183 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.747e-05/0.5093, allocations: 180.2 kB / 1.184 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.193e-05/0.5094, allocations: 184.2 kB / 1.184 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.5097, allocations: 477.1 kB / 1.184 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.5098, allocations: 104.9 kB / 1.184 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.5098, allocations: 109 kB / 1.184 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-05/0.5099, allocations: 184.2 kB / 1.185 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.51, allocations: 180.2 kB / 1.185 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-05/0.51, allocations: 180.2 kB / 1.185 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-05/0.5101, allocations: 188.2 kB / 1.185 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.5103, allocations: 327.5 kB / 1.185 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.5104, allocations: 201.8 kB / 1.186 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.5105, allocations: 184.2 kB / 1.186 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5107, allocations: 116.9 kB / 1.186 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.5107, allocations: 176.3 kB / 1.186 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.5108, allocations: 104.9 kB / 1.186 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002388/0.511, allocations: 239 kB / 1.186 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.511, allocations: 0 / 1.186 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002792/0.5113, allocations: 28 kB / 1.186 GB, free: 5.129 MB / 0.9356 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.0001431/0.5115, allocations: 174.5 kB / 1.187 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.86e-05/0.5116, allocations: 23.92 kB / 1.187 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5116, allocations: 0 / 1.187 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.5116, allocations: 0 / 1.187 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.5124, allocations: 0.586 MB / 1.187 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.513, allocations: 490.4 kB / 1.188 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.5134, allocations: 0.7404 MB / 1.188 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.5134, allocations: 23.44 kB / 1.188 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of SimCode: time 2.214e-06/0.5134, allocations: 0 / 1.188 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of Templates: time 0.004529/0.518, allocations: 2.566 MB / 1.191 GB, free: 484 kB / 0.9356 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/jenkins1/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