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.001706/0.001706, allocations: 110.1 kB / 16.37 MB, free: 6.477 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.002024/0.002024, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 63.22 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.7544/1.082, allocations: 148 MB / 1.171 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005628/1.088, allocations: 4.65 MB / 1.176 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/1.089, allocations: 7.531 kB / 1.176 GB, free: 9.258 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007637/1.089, allocations: 164.6 kB / 1.176 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004454/1.09, allocations: 85.5 kB / 1.176 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/1.09, allocations: 65.47 kB / 1.176 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004735/1.091, allocations: 306 kB / 1.176 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003599/1.091, allocations: 141 kB / 1.177 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/1.091, allocations: 118.2 kB / 1.177 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/1.091, allocations: 154.8 kB / 1.177 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/1.091, allocations: 16.16 kB / 1.177 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.031e-05/1.091, allocations: 15.75 kB / 1.177 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/1.092, allocations: 61.78 kB / 1.177 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/1.092, allocations: 106.7 kB / 1.177 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/1.092, allocations: 242.2 kB / 1.177 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.092, allocations: 0 / 1.177 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.405e-06/1.092, allocations: 0 / 1.177 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.217e-05/1.092, allocations: 0 / 1.177 GB, free: 8.457 MB / 0.8887 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.0005548/1.093, allocations: 495.6 kB / 1.178 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.093, allocations: 9.25 kB / 1.178 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/1.093, allocations: 25.59 kB / 1.178 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/1.093, allocations: 265.5 kB / 1.178 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/1.093, allocations: 17.56 kB / 1.178 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/1.093, allocations: 30.27 kB / 1.178 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/1.094, allocations: 307.4 kB / 1.178 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.094, allocations: 5.031 kB / 1.178 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/1.094, allocations: 11.53 kB / 1.178 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/1.094, allocations: 8.375 kB / 1.178 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/1.094, allocations: 121.9 kB / 1.178 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/1.095, allocations: 1.964 MB / 1.18 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/1.096, allocations: 170.2 kB / 1.181 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/1.096, allocations: 85.14 kB / 1.181 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/1.096, allocations: 79.22 kB / 1.181 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.056e-05/1.096, allocations: 114.9 kB / 1.181 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/1.096, allocations: 0 / 1.181 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.84e-05/1.096, allocations: 52.39 kB / 1.181 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/1.096, allocations: 131.8 kB / 1.181 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/1.096, allocations: 330.3 kB / 1.181 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.096, allocations: 30.81 kB / 1.181 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/1.096, allocations: 156.7 kB / 1.181 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/1.096, allocations: 5.281 kB / 1.181 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/1.096, allocations: 19.03 kB / 1.182 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.097, allocations: 332.4 kB / 1.182 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/1.097, allocations: 12.34 kB / 1.182 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/1.097, allocations: 59.67 kB / 1.182 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/1.097, allocations: 63.16 kB / 1.182 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.097, allocations: 1.094 kB / 1.182 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002011/1.097, allocations: 112.4 kB / 1.182 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.097, allocations: 6.438 kB / 1.182 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.097, allocations: 2.344 kB / 1.182 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.097, allocations: 6.094 kB / 1.182 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/1.097, allocations: 15.31 kB / 1.182 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.097, allocations: 6.297 kB / 1.182 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/1.097, allocations: 28 kB / 1.182 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/1.097, allocations: 3.656 kB / 1.182 GB, free: 3.746 MB / 0.8887 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.0001325/1.097, allocations: 217.4 kB / 1.182 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/1.098, allocations: 132.9 kB / 1.182 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.773e-05/1.098, allocations: 126.8 kB / 1.183 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.824e-05/1.098, allocations: 181.6 kB / 1.183 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.237e-05/1.098, allocations: 181.4 kB / 1.183 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.845e-05/1.098, allocations: 177.5 kB / 1.183 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/1.098, allocations: 487.7 kB / 1.184 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.735e-05/1.098, allocations: 101 kB / 1.184 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/1.098, allocations: 106.4 kB / 1.184 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-05/1.098, allocations: 185.3 kB / 1.184 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/1.098, allocations: 177.4 kB / 1.184 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-05/1.099, allocations: 190.3 kB / 1.184 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.19e-05/1.099, allocations: 177.4 kB / 1.184 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/1.099, allocations: 332.8 kB / 1.185 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/1.099, allocations: 201.6 kB / 1.185 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/1.099, allocations: 182.4 kB / 1.185 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/1.099, allocations: 108.9 kB / 1.185 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/1.099, allocations: 185.2 kB / 1.185 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/1.099, allocations: 106 kB / 1.186 GB, free: 144 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002965/1.1, allocations: 237.2 kB / 1.186 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 0 / 1.186 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002879/1.1, allocations: 36.12 kB / 1.186 GB, free: 15.98 MB / 0.9044 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.0001828/1.1, allocations: 178.8 kB / 1.186 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001007/1.1, allocations: 22.38 kB / 1.186 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.1, allocations: 0 / 1.186 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/1.1, allocations: 4.875 kB / 1.186 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/1.101, allocations: 0.5168 MB / 1.186 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006549/1.102, allocations: 395.2 kB / 1.187 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/1.102, allocations: 0.7453 MB / 1.188 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.068e-05/1.102, allocations: 30.19 kB / 1.188 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/1.102, allocations: 16.91 kB / 1.188 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/1.102, allocations: 0 / 1.188 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.006098/1.108, allocations: 2.342 MB / 1.19 GB, free: 13.12 MB / 0.9044 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 -s cvode -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