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.00189/0.00189, allocations: 105.3 kB / 16.41 MB, free: 6.414 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.002133/0.002132, allocations: 191.6 kB / 17.34 MB, free: 5.691 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.1 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.536/2.536, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 71.83 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.819, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1912/1.01, allocations: 174.1 MB / 1.337 GB, free: 5.121 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01017/1.021, allocations: 9.525 MB / 1.347 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/1.021, allocations: 11.94 kB / 1.347 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007064/1.022, allocations: 190.7 kB / 1.347 GB, free: 11.37 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003414/1.022, allocations: 95.31 kB / 1.347 GB, free: 11.28 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/1.022, allocations: 63.92 kB / 1.347 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004629/1.023, allocations: 322.7 kB / 1.347 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/1.023, allocations: 212.8 kB / 1.347 GB, free: 10.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/1.024, allocations: 167.4 kB / 1.348 GB, free: 10.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/1.024, allocations: 119.4 kB / 1.348 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/1.024, allocations: 24 kB / 1.348 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.265e-05/1.024, allocations: 20 kB / 1.348 GB, free: 10.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/1.024, allocations: 75.81 kB / 1.348 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/1.024, allocations: 131.3 kB / 1.348 GB, free: 10.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/1.024, allocations: 299.5 kB / 1.348 GB, free: 9.867 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.024, allocations: 0 / 1.348 GB, free: 9.867 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/1.024, allocations: 0 / 1.348 GB, free: 9.867 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.024, allocations: 0 / 1.348 GB, free: 9.867 MB / 1.076 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.0005698/1.025, allocations: 0.5143 MB / 1.349 GB, free: 9.305 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.025, allocations: 16.91 kB / 1.349 GB, free: 9.289 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.649e-05/1.025, allocations: 31.75 kB / 1.349 GB, free: 9.258 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/1.026, allocations: 282.5 kB / 1.349 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.026, allocations: 20.56 kB / 1.349 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/1.026, allocations: 24 kB / 1.349 GB, free: 8.898 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/1.026, allocations: 329.3 kB / 1.349 GB, free: 8.535 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.026, allocations: 3.984 kB / 1.349 GB, free: 8.531 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/1.026, allocations: 12 kB / 1.349 GB, free: 8.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.026, allocations: 8 kB / 1.349 GB, free: 8.512 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/1.026, allocations: 143.7 kB / 1.35 GB, free: 8.371 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/1.028, allocations: 1.816 MB / 1.351 GB, free: 6.457 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/1.028, allocations: 173.1 kB / 1.352 GB, free: 6.277 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/1.028, allocations: 84.08 kB / 1.352 GB, free: 6.191 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/1.028, allocations: 79.22 kB / 1.352 GB, free: 6.113 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.028, allocations: 109.8 kB / 1.352 GB, free: 5.996 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/1.028, allocations: 0 / 1.352 GB, free: 5.996 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.829e-05/1.028, allocations: 57.52 kB / 1.352 GB, free: 5.934 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/1.028, allocations: 130.7 kB / 1.352 GB, free: 5.793 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/1.029, allocations: 369.8 kB / 1.352 GB, free: 5.422 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/1.029, allocations: 29.64 kB / 1.352 GB, free: 5.387 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/1.029, allocations: 171.9 kB / 1.353 GB, free: 5.215 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/1.029, allocations: 7.938 kB / 1.353 GB, free: 5.207 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/1.029, allocations: 13.72 kB / 1.353 GB, free: 5.188 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.029, allocations: 338.8 kB / 1.353 GB, free: 4.848 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/1.029, allocations: 11.98 kB / 1.353 GB, free: 4.836 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/1.029, allocations: 36.3 kB / 1.353 GB, free: 4.785 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.569e-05/1.029, allocations: 44.23 kB / 1.353 GB, free: 4.727 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.029, allocations: 0 / 1.353 GB, free: 4.727 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001649/1.029, allocations: 97.31 kB / 1.353 GB, free: 4.625 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.029, allocations: 4 kB / 1.353 GB, free: 4.621 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.029, allocations: 0 / 1.353 GB, free: 4.621 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.029, allocations: 4 kB / 1.353 GB, free: 4.617 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/1.029, allocations: 12.11 kB / 1.353 GB, free: 4.605 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.029, allocations: 4.156 kB / 1.353 GB, free: 4.602 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/1.03, allocations: 31.73 kB / 1.353 GB, free: 4.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/1.03, allocations: 0 / 1.353 GB, free: 4.57 MB / 1.076 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.0001396/1.03, allocations: 213.1 kB / 1.353 GB, free: 4.352 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/1.03, allocations: 140.7 kB / 1.353 GB, free: 4.207 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/1.03, allocations: 130.7 kB / 1.354 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.599e-05/1.03, allocations: 180.2 kB / 1.354 GB, free: 3.887 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.347e-05/1.03, allocations: 184.2 kB / 1.354 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.7e-05/1.03, allocations: 180.3 kB / 1.354 GB, free: 3.516 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/1.03, allocations: 493 kB / 1.355 GB, free: 2.977 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/1.03, allocations: 104.9 kB / 1.355 GB, free: 2.867 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/1.031, allocations: 104.9 kB / 1.355 GB, free: 2.758 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-05/1.031, allocations: 184.3 kB / 1.355 GB, free: 2.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/1.031, allocations: 180.2 kB / 1.355 GB, free: 2.387 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.66e-05/1.031, allocations: 184.2 kB / 1.355 GB, free: 2.199 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.607e-05/1.031, allocations: 176.3 kB / 1.355 GB, free: 2.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/1.031, allocations: 331.6 kB / 1.356 GB, free: 1.672 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.031, allocations: 213.8 kB / 1.356 GB, free: 1.438 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.031, allocations: 188.5 kB / 1.356 GB, free: 1.246 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/1.031, allocations: 101 kB / 1.356 GB, free: 1.141 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/1.031, allocations: 188.2 kB / 1.356 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/1.031, allocations: 101 kB / 1.357 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002706/1.032, allocations: 275.1 kB / 1.357 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/1.032, allocations: 0 / 1.357 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000264/1.032, allocations: 28 kB / 1.357 GB, free: 0.5508 MB / 1.076 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.0001388/1.032, allocations: 182.5 kB / 1.357 GB, free: 372 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.045e-05/1.032, allocations: 11.94 kB / 1.357 GB, free: 360 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.032, allocations: 0 / 1.357 GB, free: 360 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/1.032, allocations: 0 / 1.357 GB, free: 360 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/1.033, allocations: 0.5582 MB / 1.358 GB, free: 15.79 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/1.034, allocations: 482.6 kB / 1.358 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.034, allocations: 0.7518 MB / 1.359 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/1.034, allocations: 19.44 kB / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/1.034, allocations: 0 / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of Templates: time 0.005438/1.04, allocations: 3.133 MB / 1.362 GB, free: 11.39 MB / 1.092 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