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.001845/0.001845, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002159/0.002159, allocations: 195.2 kB / 16.14 MB, free: 6.629 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.533/1.533, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.868/2.868, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7229, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1815/0.9044, allocations: 145.8 MB / 1.159 GB, free: 416 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005484/0.91, allocations: 4.607 MB / 1.164 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.9103, allocations: 11.94 kB / 1.164 GB, free: 11.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.9108, allocations: 127.2 kB / 1.164 GB, free: 11.65 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.9112, allocations: 91.44 kB / 1.164 GB, free: 11.56 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.9113, allocations: 55.94 kB / 1.164 GB, free: 11.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.9118, allocations: 366.7 kB / 1.164 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.9121, allocations: 154.3 kB / 1.164 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.9123, allocations: 99.58 kB / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.9125, allocations: 151.5 kB / 1.165 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.9125, allocations: 19.94 kB / 1.165 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.421e-05/0.9126, allocations: 12 kB / 1.165 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/0.9127, allocations: 67.75 kB / 1.165 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.9128, allocations: 91.48 kB / 1.165 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.913, allocations: 225.1 kB / 1.165 GB, free: 10.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9131, allocations: 0 / 1.165 GB, free: 10.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9131, allocations: 0 / 1.165 GB, free: 10.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.9131, allocations: 0 / 1.165 GB, free: 10.34 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.0005593/0.9136, allocations: 491.2 kB / 1.165 GB, free: 9.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.9137, allocations: 11.98 kB / 1.165 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.9138, allocations: 32.66 kB / 1.165 GB, free: 9.766 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.9141, allocations: 259.7 kB / 1.166 GB, free: 9.473 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.9141, allocations: 16.81 kB / 1.166 GB, free: 9.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.9142, allocations: 24.38 kB / 1.166 GB, free: 9.434 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.9146, allocations: 301 kB / 1.166 GB, free: 9.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.9146, allocations: 4 kB / 1.166 GB, free: 9.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.9147, allocations: 15.94 kB / 1.166 GB, free: 9.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.9147, allocations: 4 kB / 1.166 GB, free: 9.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.9149, allocations: 123.8 kB / 1.166 GB, free: 8.938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.9165, allocations: 1.969 MB / 1.168 GB, free: 6.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.9166, allocations: 165.1 kB / 1.168 GB, free: 6.688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.9166, allocations: 88.12 kB / 1.168 GB, free: 6.598 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.9167, allocations: 75.28 kB / 1.168 GB, free: 6.523 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.9168, allocations: 117.8 kB / 1.169 GB, free: 6.398 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.9168, allocations: 0 / 1.169 GB, free: 6.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001026/0.9169, allocations: 49.36 kB / 1.169 GB, free: 6.344 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.9169, allocations: 130.7 kB / 1.169 GB, free: 6.203 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.9174, allocations: 332.5 kB / 1.169 GB, free: 5.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.9174, allocations: 25.7 kB / 1.169 GB, free: 5.836 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.9175, allocations: 159.7 kB / 1.169 GB, free: 5.676 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.9175, allocations: 4 kB / 1.169 GB, free: 5.672 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.9176, allocations: 17.72 kB / 1.169 GB, free: 5.648 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.9177, allocations: 334.8 kB / 1.17 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.9178, allocations: 15.88 kB / 1.17 GB, free: 5.297 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.9178, allocations: 62.8 kB / 1.17 GB, free: 5.211 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.577e-05/0.9179, allocations: 66.8 kB / 1.17 GB, free: 5.121 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9179, allocations: 0 / 1.17 GB, free: 5.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001908/0.9181, allocations: 105.2 kB / 1.17 GB, free: 5.012 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9182, allocations: 8 kB / 1.17 GB, free: 5.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9182, allocations: 4.25 kB / 1.17 GB, free: 5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9182, allocations: 7.938 kB / 1.17 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.9183, allocations: 19.92 kB / 1.17 GB, free: 4.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.9183, allocations: 0 / 1.17 GB, free: 4.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.9184, allocations: 27.59 kB / 1.17 GB, free: 4.945 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.9184, allocations: 4 kB / 1.17 GB, free: 4.941 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.0001525/0.9186, allocations: 209.1 kB / 1.17 GB, free: 4.727 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.9186, allocations: 128.6 kB / 1.17 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.9187, allocations: 134 kB / 1.17 GB, free: 4.457 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.112e-05/0.9188, allocations: 188.3 kB / 1.17 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.539e-05/0.9189, allocations: 180.2 kB / 1.171 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-05/0.919, allocations: 180.2 kB / 1.171 GB, free: 3.898 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.9194, allocations: 477.1 kB / 1.171 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.126e-05/0.9194, allocations: 105 kB / 1.171 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.9195, allocations: 109 kB / 1.171 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.66e-05/0.9196, allocations: 184.2 kB / 1.172 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.921e-05/0.9197, allocations: 184.2 kB / 1.172 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.507e-05/0.9198, allocations: 180.2 kB / 1.172 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.099e-05/0.9199, allocations: 176.3 kB / 1.172 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.9201, allocations: 335.5 kB / 1.172 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.9202, allocations: 201.9 kB / 1.173 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.9203, allocations: 184.1 kB / 1.173 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.9204, allocations: 101 kB / 1.173 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.9206, allocations: 184.2 kB / 1.173 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.9206, allocations: 109 kB / 1.173 GB, free: 1.246 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002547/0.9209, allocations: 235 kB / 1.173 GB, free: 1.02 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9209, allocations: 0 / 1.173 GB, free: 1.02 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002717/0.9212, allocations: 35.84 kB / 1.173 GB, free: 0.9844 MB / 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.0001614/0.9213, allocations: 175 kB / 1.174 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.101e-05/0.9214, allocations: 28.06 kB / 1.174 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.9214, allocations: 3.938 kB / 1.174 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.9214, allocations: 3.938 kB / 1.174 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.9224, allocations: 0.5838 MB / 1.174 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.9231, allocations: 442.3 kB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.9235, allocations: 0.7443 MB / 1.175 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.9236, allocations: 30.28 kB / 1.175 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.9236, allocations: 15.44 kB / 1.175 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.9236, allocations: 0 / 1.175 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.00598/0.9296, allocations: 2.239 MB / 1.178 GB, free: 12.7 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=400 -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