Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108.7 kB / 16.27 MB, free: 5.984 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.002036/0.002036, allocations: 189 kB / 17.2 MB, free: 5.609 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.569/2.569, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 72.3 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3495, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.9043/1.254, allocations: 174.1 MB / 1.188 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01196/1.266, allocations: 9.51 MB / 1.197 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005964/1.267, allocations: 15.28 kB / 1.197 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008719/1.267, allocations: 190.5 kB / 1.197 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004206/1.268, allocations: 89.81 kB / 1.198 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/1.268, allocations: 70.25 kB / 1.198 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005702/1.269, allocations: 325.4 kB / 1.198 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/1.269, allocations: 207.3 kB / 1.198 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/1.27, allocations: 172.4 kB / 1.198 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/1.27, allocations: 116.7 kB / 1.198 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/1.27, allocations: 22.12 kB / 1.198 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/1.27, allocations: 21.72 kB / 1.198 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/1.27, allocations: 77.03 kB / 1.198 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/1.27, allocations: 129.1 kB / 1.199 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/1.271, allocations: 280.2 kB / 1.199 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.271, allocations: 0 / 1.199 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/1.271, allocations: 4 kB / 1.199 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.206e-05/1.271, allocations: 0 / 1.199 GB, free: 9.672 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006684/1.271, allocations: 0.5039 MB / 1.199 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.271, allocations: 10.16 kB / 1.199 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.672e-05/1.271, allocations: 30.59 kB / 1.199 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/1.272, allocations: 275 kB / 1.2 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/1.272, allocations: 19.88 kB / 1.2 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/1.272, allocations: 24.72 kB / 1.2 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/1.272, allocations: 319.4 kB / 1.2 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.272, allocations: 3.938 kB / 1.2 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/1.273, allocations: 15.91 kB / 1.2 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/1.273, allocations: 14.22 kB / 1.2 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/1.273, allocations: 147.3 kB / 1.2 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/1.274, allocations: 1.807 MB / 1.202 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/1.275, allocations: 171.5 kB / 1.202 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/1.275, allocations: 84.12 kB / 1.202 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/1.275, allocations: 83.22 kB / 1.202 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/1.275, allocations: 109.8 kB / 1.202 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.275, allocations: 0 / 1.202 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001208/1.275, allocations: 62.44 kB / 1.202 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.275, allocations: 128.6 kB / 1.203 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/1.275, allocations: 367.8 kB / 1.203 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.275, allocations: 25.7 kB / 1.203 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.276, allocations: 178.7 kB / 1.203 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/1.276, allocations: 0 / 1.203 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/1.276, allocations: 17.8 kB / 1.203 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.276, allocations: 338 kB / 1.203 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/1.276, allocations: 7.094 kB / 1.203 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/1.276, allocations: 33.14 kB / 1.203 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/1.276, allocations: 49.41 kB / 1.204 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.276, allocations: 0 / 1.204 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000207/1.276, allocations: 95.81 kB / 1.204 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.276, allocations: 5.844 kB / 1.204 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.276, allocations: 5.094 kB / 1.204 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.276, allocations: 2.156 kB / 1.204 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/1.276, allocations: 7.781 kB / 1.204 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.276, allocations: 1.156 kB / 1.204 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.277, allocations: 29.69 kB / 1.204 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/1.277, allocations: 2.234 kB / 1.204 GB, free: 5.164 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001464/1.277, allocations: 214.9 kB / 1.204 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/1.277, allocations: 141.9 kB / 1.204 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/1.277, allocations: 128.4 kB / 1.204 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.187e-05/1.277, allocations: 177.5 kB / 1.204 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.574e-05/1.277, allocations: 181.5 kB / 1.204 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/1.277, allocations: 181.5 kB / 1.205 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/1.278, allocations: 494.3 kB / 1.205 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.416e-05/1.278, allocations: 107.6 kB / 1.205 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/1.278, allocations: 104.9 kB / 1.205 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.917e-05/1.278, allocations: 180.2 kB / 1.205 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/1.278, allocations: 178.1 kB / 1.206 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.766e-05/1.278, allocations: 187.2 kB / 1.206 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.277e-05/1.278, allocations: 184.5 kB / 1.206 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/1.278, allocations: 334.8 kB / 1.206 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.278, allocations: 209.1 kB / 1.207 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.312e-05/1.278, allocations: 182.9 kB / 1.207 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/1.279, allocations: 109 kB / 1.207 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/1.279, allocations: 184.2 kB / 1.207 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/1.279, allocations: 104.1 kB / 1.207 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002575/1.279, allocations: 266.8 kB / 1.207 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.279, allocations: 0 / 1.207 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003052/1.279, allocations: 35.47 kB / 1.207 GB, free: 1.363 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.0001456/1.279, allocations: 176.3 kB / 1.208 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.045e-05/1.28, allocations: 14.03 kB / 1.208 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.28, allocations: 0 / 1.208 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/1.28, allocations: 0 / 1.208 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/1.28, allocations: 0.555 MB / 1.208 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/1.281, allocations: 487.6 kB / 1.209 GB, free: 308 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/1.282, allocations: 0.7539 MB / 1.209 GB, free: 15.57 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/1.282, allocations: 19.56 kB / 1.209 GB, free: 15.56 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/1.282, allocations: 0 / 1.209 GB, free: 15.56 MB / 0.92 GB Notification: Performance of Templates: time 0.006429/1.288, allocations: 3.113 MB / 1.212 GB, free: 13.98 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches