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.0007877/0.0007878, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005263/0.005263, allocations: 173.8 kB / 16.27 MB, free: 6.676 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.737/2.737, allocations: 437.8 MB / 0.7121 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.000395, allocations: 12 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7551, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1519/0.9071, allocations: 143.9 MB / 1.164 GB, free: 15.42 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004597/0.9118, allocations: 4.557 MB / 1.168 GB, free: 10.85 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.9121, allocations: 11.94 kB / 1.168 GB, free: 10.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.9125, allocations: 131.1 kB / 1.168 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.9128, allocations: 79.58 kB / 1.168 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.913, allocations: 51.95 kB / 1.168 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.9134, allocations: 366.8 kB / 1.169 GB, free: 10.22 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.9137, allocations: 140.1 kB / 1.169 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.9138, allocations: 87.53 kB / 1.169 GB, free: 9.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.914, allocations: 139.4 kB / 1.169 GB, free: 9.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.914, allocations: 4 kB / 1.169 GB, free: 9.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.9141, allocations: 8 kB / 1.169 GB, free: 9.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.9141, allocations: 51.83 kB / 1.169 GB, free: 9.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.9142, allocations: 105.2 kB / 1.169 GB, free: 9.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.9144, allocations: 221.1 kB / 1.169 GB, free: 9.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9145, allocations: 0 / 1.169 GB, free: 9.465 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9145, allocations: 4 kB / 1.169 GB, free: 9.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.9145, allocations: 0 / 1.169 GB, free: 9.461 MB / 0.92 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.0003947/0.9149, allocations: 447.2 kB / 1.17 GB, free: 8.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.9149, allocations: 19.92 kB / 1.17 GB, free: 8.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.915, allocations: 24.66 kB / 1.17 GB, free: 8.934 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.9152, allocations: 267.6 kB / 1.17 GB, free: 8.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.9153, allocations: 12.81 kB / 1.17 GB, free: 8.621 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.9153, allocations: 20.38 kB / 1.17 GB, free: 8.602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.9157, allocations: 315 kB / 1.17 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9157, allocations: 0 / 1.17 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.9157, allocations: 12 kB / 1.17 GB, free: 8.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.9157, allocations: 8 kB / 1.17 GB, free: 8.219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.9159, allocations: 119.7 kB / 1.171 GB, free: 8.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.9171, allocations: 1.973 MB / 1.172 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.9172, allocations: 173.1 kB / 1.173 GB, free: 5.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.9173, allocations: 80.14 kB / 1.173 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.9173, allocations: 75.28 kB / 1.173 GB, free: 5.684 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.9174, allocations: 113.8 kB / 1.173 GB, free: 5.562 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9174, allocations: 0 / 1.173 GB, free: 5.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.716e-05/0.9175, allocations: 57.3 kB / 1.173 GB, free: 5.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.9175, allocations: 126.7 kB / 1.173 GB, free: 5.363 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.9179, allocations: 328.5 kB / 1.173 GB, free: 5.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.9179, allocations: 25.7 kB / 1.173 GB, free: 5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.918, allocations: 167.6 kB / 1.174 GB, free: 4.832 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.918, allocations: 3.938 kB / 1.174 GB, free: 4.828 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.918, allocations: 17.72 kB / 1.174 GB, free: 4.805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9182, allocations: 334.8 kB / 1.174 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.9182, allocations: 4 kB / 1.174 GB, free: 4.465 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.9182, allocations: 54.86 kB / 1.174 GB, free: 4.387 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.9183, allocations: 74.75 kB / 1.174 GB, free: 4.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9183, allocations: 4 kB / 1.174 GB, free: 4.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001897/0.9185, allocations: 105.2 kB / 1.174 GB, free: 4.176 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.9185, allocations: 4 kB / 1.174 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.9185, allocations: 4 kB / 1.174 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.9186, allocations: 3.938 kB / 1.174 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.9186, allocations: 16 kB / 1.174 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9187, allocations: 4 kB / 1.174 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.9187, allocations: 27.94 kB / 1.174 GB, free: 4.117 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.9187, allocations: 7.984 kB / 1.174 GB, free: 4.109 MB / 0.92 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.0001304/0.9189, allocations: 211.1 kB / 1.174 GB, free: 3.895 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.919, allocations: 128.7 kB / 1.174 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.919, allocations: 129.9 kB / 1.175 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/0.9191, allocations: 184.2 kB / 1.175 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.026e-05/0.9191, allocations: 180.3 kB / 1.175 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.063e-05/0.9192, allocations: 188.2 kB / 1.175 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.9195, allocations: 473.1 kB / 1.176 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.9195, allocations: 104.9 kB / 1.176 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.9196, allocations: 105 kB / 1.176 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.302e-05/0.9196, allocations: 176.3 kB / 1.176 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.9197, allocations: 192.1 kB / 1.176 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.907e-05/0.9197, allocations: 180.3 kB / 1.176 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.15e-05/0.9198, allocations: 184.2 kB / 1.176 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.9199, allocations: 323.5 kB / 1.177 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.9201, allocations: 205.8 kB / 1.177 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/0.9201, allocations: 188.2 kB / 1.177 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9203, allocations: 112.9 kB / 1.177 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.9203, allocations: 176.3 kB / 1.177 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.9204, allocations: 105.2 kB / 1.178 GB, free: 428 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002589/0.9207, allocations: 235 kB / 1.178 GB, free: 196 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.492e-06/0.9207, allocations: 4 kB / 1.178 GB, free: 192 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002913/0.921, allocations: 31.88 kB / 1.178 GB, free: 160 kB / 0.92 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.000194/0.9212, allocations: 178.5 kB / 1.178 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.9213, allocations: 19.92 kB / 1.178 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9213, allocations: 0 / 1.178 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.9213, allocations: 0 / 1.178 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/0.9223, allocations: 0.6108 MB / 1.179 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.9229, allocations: 448.8 kB / 1.179 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.9233, allocations: 0.7443 MB / 1.18 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.9234, allocations: 30.28 kB / 1.18 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.9234, allocations: 15.44 kB / 1.18 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/0.9234, allocations: 0 / 1.18 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of Templates: time 0.005428/0.9289, allocations: 2.215 MB / 1.182 GB, free: 11.88 MB / 0.9356 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