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.009649/0.009649, allocations: 94.06 kB / 15.73 MB, free: 6.051 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.001273/0.001273, allocations: 198.5 kB / 16.68 MB, free: 5.973 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.745/1.745, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.839/2.839, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.83 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3716, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 1.146/1.518, allocations: 174.1 MB / 1.337 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01215/1.53, allocations: 9.504 MB / 1.346 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005974/1.53, allocations: 11.09 kB / 1.346 GB, free: 7.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009157/1.531, allocations: 189 kB / 1.346 GB, free: 7.621 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005152/1.532, allocations: 97.91 kB / 1.346 GB, free: 7.555 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/1.532, allocations: 61.78 kB / 1.346 GB, free: 7.523 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007745/1.533, allocations: 339.4 kB / 1.347 GB, free: 7.355 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/1.534, allocations: 202.1 kB / 1.347 GB, free: 7.266 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008373/1.535, allocations: 167.8 kB / 1.347 GB, free: 7.188 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/1.535, allocations: 119.3 kB / 1.347 GB, free: 7.125 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/1.535, allocations: 24.88 kB / 1.347 GB, free: 7.121 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/1.535, allocations: 22.28 kB / 1.347 GB, free: 7.121 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/1.536, allocations: 78.22 kB / 1.347 GB, free: 7.078 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002981/1.536, allocations: 127.2 kB / 1.347 GB, free: 7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005884/1.536, allocations: 289.8 kB / 1.348 GB, free: 6.879 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.536, allocations: 1.625 kB / 1.348 GB, free: 6.879 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.867e-06/1.536, allocations: 0 / 1.348 GB, free: 6.879 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.486e-05/1.536, allocations: 0 / 1.348 GB, free: 6.879 MB / 1.029 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.001094/1.538, allocations: 0.5294 MB / 1.348 GB, free: 6.395 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/1.538, allocations: 9.844 kB / 1.348 GB, free: 6.395 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/1.538, allocations: 35.53 kB / 1.348 GB, free: 6.375 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/1.538, allocations: 280.8 kB / 1.348 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/1.538, allocations: 19.19 kB / 1.348 GB, free: 6.113 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/1.539, allocations: 28.59 kB / 1.348 GB, free: 6.102 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/1.539, allocations: 326 kB / 1.349 GB, free: 5.875 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.539, allocations: 1.281 kB / 1.349 GB, free: 5.875 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/1.539, allocations: 12.03 kB / 1.349 GB, free: 5.867 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/1.539, allocations: 6.625 kB / 1.349 GB, free: 5.867 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/1.54, allocations: 145.5 kB / 1.349 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/1.541, allocations: 1.821 MB / 1.351 GB, free: 4.172 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.542, allocations: 170.5 kB / 1.351 GB, free: 3.996 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/1.542, allocations: 85.02 kB / 1.351 GB, free: 3.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/1.542, allocations: 75.28 kB / 1.351 GB, free: 3.836 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/1.542, allocations: 114.8 kB / 1.351 GB, free: 3.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.542, allocations: 0 / 1.351 GB, free: 3.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001477/1.542, allocations: 57.33 kB / 1.351 GB, free: 3.668 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/1.542, allocations: 126.7 kB / 1.351 GB, free: 3.531 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/1.542, allocations: 373.8 kB / 1.352 GB, free: 3.344 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/1.542, allocations: 29.64 kB / 1.352 GB, free: 3.309 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/1.543, allocations: 166.6 kB / 1.352 GB, free: 3.164 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-06/1.543, allocations: 5.281 kB / 1.352 GB, free: 3.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/1.543, allocations: 20.06 kB / 1.352 GB, free: 3.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002283/1.543, allocations: 336.1 kB / 1.352 GB, free: 2.816 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/1.543, allocations: 4.781 kB / 1.352 GB, free: 2.816 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/1.543, allocations: 39.78 kB / 1.352 GB, free: 2.773 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/1.543, allocations: 44.83 kB / 1.352 GB, free: 2.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.543, allocations: 0 / 1.352 GB, free: 2.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002109/1.543, allocations: 93.05 kB / 1.352 GB, free: 2.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.543, allocations: 5.75 kB / 1.352 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.543, allocations: 5.312 kB / 1.352 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.543, allocations: 1.312 kB / 1.352 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/1.544, allocations: 10.06 kB / 1.352 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/1.544, allocations: 1.344 kB / 1.352 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.544, allocations: 31.77 kB / 1.352 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.544, allocations: 2.188 kB / 1.352 GB, free: 2.633 MB / 1.029 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.0001822/1.544, allocations: 214.7 kB / 1.353 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/1.544, allocations: 138.2 kB / 1.353 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/1.544, allocations: 133.3 kB / 1.353 GB, free: 2.176 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.533e-05/1.544, allocations: 184.3 kB / 1.353 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.224e-05/1.544, allocations: 176.4 kB / 1.353 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.352e-05/1.544, allocations: 185.5 kB / 1.353 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/1.545, allocations: 487.1 kB / 1.354 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.557e-05/1.545, allocations: 107.9 kB / 1.354 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/1.545, allocations: 108.9 kB / 1.354 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.678e-05/1.545, allocations: 184.2 kB / 1.354 GB, free: 0.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/1.545, allocations: 185.5 kB / 1.354 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.821e-05/1.545, allocations: 181.1 kB / 1.355 GB, free: 388 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-05/1.545, allocations: 181.3 kB / 1.355 GB, free: 200 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/1.546, allocations: 329.2 kB / 1.355 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/1.546, allocations: 218.7 kB / 1.355 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.546, allocations: 178.7 kB / 1.355 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.546, allocations: 104.3 kB / 1.356 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/1.546, allocations: 185.5 kB / 1.356 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/1.546, allocations: 105 kB / 1.356 GB, free: 15.06 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003159/1.546, allocations: 274.1 kB / 1.356 GB, free: 14.92 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.546, allocations: 0 / 1.356 GB, free: 14.92 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003121/1.547, allocations: 27.41 kB / 1.356 GB, free: 14.92 MB / 1.045 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.0001431/1.547, allocations: 172.5 kB / 1.356 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.486e-05/1.547, allocations: 22.28 kB / 1.356 GB, free: 14.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.547, allocations: 0 / 1.356 GB, free: 14.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/1.547, allocations: 1.312 kB / 1.356 GB, free: 14.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/1.548, allocations: 0.5507 MB / 1.357 GB, free: 14.27 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/1.549, allocations: 452.3 kB / 1.357 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/1.549, allocations: 0.7523 MB / 1.358 GB, free: 13.25 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001/1.549, allocations: 29.23 kB / 1.358 GB, free: 13.24 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/1.549, allocations: 20.09 kB / 1.358 GB, free: 13.23 MB / 1.045 GB Notification: Performance of SimCode: time 2.41e-07/1.549, allocations: 0 / 1.358 GB, free: 13.23 MB / 1.045 GB Notification: Performance of Templates: time 0.008314/1.557, allocations: 3.184 MB / 1.361 GB, free: 13 MB / 1.045 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/jenkins/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