Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008393/0.008393, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.002001/0.002001, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 55.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9871/0.9886, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1744/1.163, allocations: 148 MB / 1.311 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005369/1.168, allocations: 4.642 MB / 1.316 GB, free: 10.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/1.169, allocations: 8 kB / 1.316 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/1.169, allocations: 170.8 kB / 1.316 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003908/1.17, allocations: 91.42 kB / 1.316 GB, free: 10.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/1.17, allocations: 63.92 kB / 1.316 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004441/1.17, allocations: 310.8 kB / 1.316 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/1.171, allocations: 139.7 kB / 1.316 GB, free: 9.809 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/1.171, allocations: 119.5 kB / 1.317 GB, free: 9.691 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/1.171, allocations: 147.5 kB / 1.317 GB, free: 9.547 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/1.171, allocations: 16 kB / 1.317 GB, free: 9.531 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.37e-05/1.171, allocations: 16 kB / 1.317 GB, free: 9.516 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/1.171, allocations: 75.69 kB / 1.317 GB, free: 9.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/1.172, allocations: 99.48 kB / 1.317 GB, free: 9.344 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/1.172, allocations: 231.5 kB / 1.317 GB, free: 9.121 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.172, allocations: 0 / 1.317 GB, free: 9.121 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.657e-06/1.172, allocations: 7.922 kB / 1.317 GB, free: 9.113 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.888e-06/1.172, allocations: 4 kB / 1.317 GB, free: 9.109 MB / 1.045 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.0005414/1.172, allocations: 498.8 kB / 1.318 GB, free: 8.574 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.173, allocations: 16.88 kB / 1.318 GB, free: 8.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/1.173, allocations: 24.8 kB / 1.318 GB, free: 8.535 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/1.173, allocations: 278 kB / 1.318 GB, free: 8.227 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.173, allocations: 20.81 kB / 1.318 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/1.173, allocations: 20.38 kB / 1.318 GB, free: 8.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/1.174, allocations: 309 kB / 1.318 GB, free: 7.832 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.174, allocations: 3.938 kB / 1.318 GB, free: 7.828 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/1.174, allocations: 8 kB / 1.318 GB, free: 7.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/1.174, allocations: 8 kB / 1.318 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/1.174, allocations: 123.8 kB / 1.318 GB, free: 7.691 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/1.175, allocations: 1.973 MB / 1.32 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.831e-05/1.175, allocations: 169.1 kB / 1.32 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/1.175, allocations: 80.14 kB / 1.321 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/1.175, allocations: 79.28 kB / 1.321 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.175, allocations: 113.9 kB / 1.321 GB, free: 5.152 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.175, allocations: 4 kB / 1.321 GB, free: 5.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001074/1.176, allocations: 57.5 kB / 1.321 GB, free: 5.086 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/1.176, allocations: 126.7 kB / 1.321 GB, free: 4.949 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/1.176, allocations: 324.5 kB / 1.321 GB, free: 4.629 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/1.176, allocations: 29.7 kB / 1.321 GB, free: 4.594 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.176, allocations: 167.8 kB / 1.321 GB, free: 4.426 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/1.176, allocations: 3.938 kB / 1.321 GB, free: 4.422 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/1.176, allocations: 25.72 kB / 1.321 GB, free: 4.391 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.176, allocations: 334.8 kB / 1.322 GB, free: 4.055 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/1.176, allocations: 4 kB / 1.322 GB, free: 4.051 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/1.176, allocations: 54.86 kB / 1.322 GB, free: 3.973 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/1.176, allocations: 70.75 kB / 1.322 GB, free: 3.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.177, allocations: 4 kB / 1.322 GB, free: 3.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001851/1.177, allocations: 105.4 kB / 1.322 GB, free: 3.766 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.177, allocations: 8 kB / 1.322 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.177, allocations: 0 / 1.322 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.177, allocations: 7.938 kB / 1.322 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/1.177, allocations: 15.94 kB / 1.322 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.177, allocations: 7.984 kB / 1.322 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/1.177, allocations: 23.73 kB / 1.322 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/1.177, allocations: 8.25 kB / 1.322 GB, free: 3.695 MB / 1.045 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.0001273/1.177, allocations: 227.1 kB / 1.322 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/1.177, allocations: 124.8 kB / 1.322 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.652e-05/1.177, allocations: 130 kB / 1.323 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.336e-05/1.177, allocations: 180.2 kB / 1.323 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.551e-05/1.177, allocations: 176.3 kB / 1.323 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-05/1.177, allocations: 188.2 kB / 1.323 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/1.178, allocations: 473.1 kB / 1.324 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/1.178, allocations: 101 kB / 1.324 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/1.178, allocations: 104.9 kB / 1.324 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.614e-05/1.178, allocations: 188.2 kB / 1.324 GB, free: 1.719 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/1.178, allocations: 192.1 kB / 1.324 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-05/1.178, allocations: 180.3 kB / 1.324 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.391e-05/1.178, allocations: 180.3 kB / 1.324 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/1.178, allocations: 331.6 kB / 1.325 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.178, allocations: 201.9 kB / 1.325 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.179, allocations: 192.2 kB / 1.325 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/1.179, allocations: 101 kB / 1.325 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/1.179, allocations: 184.5 kB / 1.325 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/1.179, allocations: 101 kB / 1.325 GB, free: 15.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002463/1.179, allocations: 235 kB / 1.326 GB, free: 15.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.179, allocations: 0 / 1.326 GB, free: 15.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002691/1.179, allocations: 35.95 kB / 1.326 GB, free: 15.73 MB / 1.061 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.0001519/1.18, allocations: 182.5 kB / 1.326 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.832e-05/1.18, allocations: 23.88 kB / 1.326 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.18, allocations: 0 / 1.326 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/1.18, allocations: 32 / 1.326 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/1.18, allocations: 0.5202 MB / 1.326 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/1.181, allocations: 396 kB / 1.327 GB, free: 14.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/1.181, allocations: 0.744 MB / 1.328 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.159e-05/1.181, allocations: 26.28 kB / 1.328 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/1.181, allocations: 15.44 kB / 1.328 GB, free: 13.77 MB / 1.061 GB Notification: Performance of SimCode: time 2.31e-07/1.181, allocations: 0 / 1.328 GB, free: 13.77 MB / 1.061 GB Notification: Performance of Templates: time 0.005689/1.187, allocations: 2.371 MB / 1.33 GB, free: 11.43 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches