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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001043/0.001043, allocations: 92.16 kB / 16.02 MB, free: 80 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.001539/0.001539, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.509/1.509, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004082, allocations: 12 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7426, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1681/0.9107, allocations: 143.9 MB / 1.164 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005235/0.916, allocations: 4.549 MB / 1.169 GB, free: 10.89 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.9163, allocations: 11.94 kB / 1.169 GB, free: 10.88 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.9168, allocations: 127.2 kB / 1.169 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.9172, allocations: 87.48 kB / 1.169 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.9174, allocations: 51.95 kB / 1.169 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.9179, allocations: 366.6 kB / 1.169 GB, free: 10.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.9182, allocations: 140.1 kB / 1.169 GB, free: 10.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.9184, allocations: 87.58 kB / 1.169 GB, free: 10.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.9187, allocations: 135.5 kB / 1.17 GB, free: 9.891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.9187, allocations: 4 kB / 1.17 GB, free: 9.887 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.212e-05/0.9187, allocations: 12 kB / 1.17 GB, free: 9.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.9188, allocations: 47.77 kB / 1.17 GB, free: 9.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.9189, allocations: 117.2 kB / 1.17 GB, free: 9.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.9191, allocations: 165.5 kB / 1.17 GB, free: 9.547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9191, allocations: 0 / 1.17 GB, free: 9.547 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9191, allocations: 0 / 1.17 GB, free: 9.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.9191, allocations: 0 / 1.17 GB, free: 9.547 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.000478/0.9196, allocations: 455.2 kB / 1.17 GB, free: 9.055 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.9197, allocations: 11.98 kB / 1.17 GB, free: 9.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.9197, allocations: 24.66 kB / 1.17 GB, free: 9.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.92, allocations: 267.6 kB / 1.171 GB, free: 8.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.9201, allocations: 16.81 kB / 1.171 GB, free: 8.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.9201, allocations: 28.31 kB / 1.171 GB, free: 8.676 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.9205, allocations: 301 kB / 1.171 GB, free: 8.324 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.9206, allocations: 0 / 1.171 GB, free: 8.324 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.9206, allocations: 12 kB / 1.171 GB, free: 8.312 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.9206, allocations: 8 kB / 1.171 GB, free: 8.305 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.9208, allocations: 123.7 kB / 1.171 GB, free: 8.184 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.9222, allocations: 1.973 MB / 1.173 GB, free: 6.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.945e-05/0.9223, allocations: 169.1 kB / 1.173 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.9223, allocations: 80.14 kB / 1.173 GB, free: 5.844 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.9224, allocations: 83.27 kB / 1.173 GB, free: 5.762 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.9224, allocations: 105.8 kB / 1.173 GB, free: 5.648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.9224, allocations: 0 / 1.173 GB, free: 5.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.629e-05/0.9225, allocations: 61.3 kB / 1.174 GB, free: 5.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.9226, allocations: 126.7 kB / 1.174 GB, free: 5.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.9229, allocations: 332.5 kB / 1.174 GB, free: 5.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.923, allocations: 29.7 kB / 1.174 GB, free: 5.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.9231, allocations: 155.7 kB / 1.174 GB, free: 4.918 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/0.9231, allocations: 0 / 1.174 GB, free: 4.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.9231, allocations: 21.7 kB / 1.174 GB, free: 4.891 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9233, allocations: 326.8 kB / 1.174 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.9233, allocations: 19.92 kB / 1.175 GB, free: 4.543 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.9234, allocations: 58.86 kB / 1.175 GB, free: 4.461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.9235, allocations: 74.73 kB / 1.175 GB, free: 4.363 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9235, allocations: 0 / 1.175 GB, free: 4.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001875/0.9237, allocations: 101.2 kB / 1.175 GB, free: 4.258 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.9237, allocations: 4 kB / 1.175 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9237, allocations: 4 kB / 1.175 GB, free: 4.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.9237, allocations: 8.188 kB / 1.175 GB, free: 4.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.9238, allocations: 19.98 kB / 1.175 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9238, allocations: 7.938 kB / 1.175 GB, free: 4.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.9239, allocations: 23.69 kB / 1.175 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.9239, allocations: 8 kB / 1.175 GB, free: 4.184 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.0001405/0.924, allocations: 205.6 kB / 1.175 GB, free: 3.973 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.9241, allocations: 128.7 kB / 1.175 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.9242, allocations: 129.9 kB / 1.175 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.053e-05/0.9243, allocations: 184.2 kB / 1.175 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.838e-05/0.9243, allocations: 188.2 kB / 1.176 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.075e-05/0.9244, allocations: 180.3 kB / 1.176 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.9247, allocations: 473.1 kB / 1.176 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.454e-05/0.9248, allocations: 112.9 kB / 1.176 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.9248, allocations: 105 kB / 1.176 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.323e-05/0.9249, allocations: 180.2 kB / 1.177 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.734e-05/0.925, allocations: 180.2 kB / 1.177 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.377e-05/0.925, allocations: 180.3 kB / 1.177 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.915e-05/0.9251, allocations: 184.2 kB / 1.177 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.9253, allocations: 327.5 kB / 1.177 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.9254, allocations: 205.8 kB / 1.178 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.085e-05/0.9255, allocations: 184.2 kB / 1.178 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.9256, allocations: 104.9 kB / 1.178 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.9257, allocations: 176.3 kB / 1.178 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.9257, allocations: 113.2 kB / 1.178 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002382/0.926, allocations: 243 kB / 1.178 GB, free: 268 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.926, allocations: 0 / 1.178 GB, free: 268 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002596/0.9262, allocations: 27.94 kB / 1.178 GB, free: 240 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.0001364/0.9264, allocations: 172.9 kB / 1.179 GB, free: 56 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.112e-05/0.9265, allocations: 20.38 kB / 1.179 GB, free: 36 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9265, allocations: 8.062 kB / 1.179 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.9265, allocations: 3.984 kB / 1.179 GB, free: 24 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.9273, allocations: 0.5883 MB / 1.179 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.9279, allocations: 486.3 kB / 1.18 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.9282, allocations: 0.7482 MB / 1.18 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.9283, allocations: 19.38 kB / 1.18 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.9283, allocations: 0 / 1.18 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of Templates: time 0.004911/0.9332, allocations: 2.569 MB / 1.183 GB, free: 11.58 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/jenkins1/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