Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001394/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001497/0.001497, allocations: 191 kB / 16.25 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 482.3 MB / 0.7543 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 69.42 kB / 0.9233 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3632, allocations: 162.2 MB / 1.082 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1999/0.5631, allocations: 171.7 MB / 1.249 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7444/1.308, allocations: 9.42 MB / 1.259 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006131/1.308, allocations: 11.72 kB / 1.259 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008369/1.309, allocations: 162.6 kB / 1.259 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003841/1.31, allocations: 79.08 kB / 1.259 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/1.31, allocations: 58.88 kB / 1.259 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006893/1.311, allocations: 325.6 kB / 1.259 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005954/1.311, allocations: 204.2 kB / 1.259 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/1.312, allocations: 170.8 kB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/1.312, allocations: 126 kB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/1.312, allocations: 21.47 kB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.884e-05/1.312, allocations: 22.75 kB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/1.312, allocations: 76.83 kB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/1.312, allocations: 126.5 kB / 1.26 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004286/1.313, allocations: 276.8 kB / 1.26 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.313, allocations: 2.516 kB / 1.26 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.313, allocations: 1.094 kB / 1.26 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.244e-06/1.313, allocations: 0 / 1.26 GB, free: 7.273 MB / 0.9981 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.001095/1.314, allocations: 0.5096 MB / 1.261 GB, free: 22.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.314, allocations: 10.72 kB / 1.261 GB, free: 22.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/1.314, allocations: 32.31 kB / 1.261 GB, free: 22.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/1.314, allocations: 265.2 kB / 1.261 GB, free: 22.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/1.315, allocations: 18.47 kB / 1.261 GB, free: 22.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.315, allocations: 26.5 kB / 1.261 GB, free: 22.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/1.315, allocations: 324.7 kB / 1.261 GB, free: 22.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.315, allocations: 3.812 kB / 1.261 GB, free: 22.49 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/1.315, allocations: 11.72 kB / 1.261 GB, free: 22.49 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/1.315, allocations: 7.938 kB / 1.261 GB, free: 22.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/1.315, allocations: 142.3 kB / 1.262 GB, free: 22.49 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/1.317, allocations: 1.823 MB / 1.263 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/1.317, allocations: 173.7 kB / 1.263 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/1.317, allocations: 80.98 kB / 1.264 GB, free: 20.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/1.317, allocations: 84.73 kB / 1.264 GB, free: 20.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.668e-05/1.317, allocations: 113.3 kB / 1.264 GB, free: 20.56 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/1.317, allocations: 1.125 kB / 1.264 GB, free: 20.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001136/1.317, allocations: 53.27 kB / 1.264 GB, free: 20.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/1.317, allocations: 133.6 kB / 1.264 GB, free: 20.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/1.318, allocations: 377.2 kB / 1.264 GB, free: 20.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/1.318, allocations: 26.73 kB / 1.264 GB, free: 20.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.318, allocations: 160.6 kB / 1.264 GB, free: 20.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/1.318, allocations: 6.328 kB / 1.264 GB, free: 20.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/1.318, allocations: 18.28 kB / 1.264 GB, free: 20.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.318, allocations: 337.9 kB / 1.265 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/1.318, allocations: 2.562 kB / 1.265 GB, free: 19.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/1.318, allocations: 36.28 kB / 1.265 GB, free: 19.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/1.319, allocations: 48.23 kB / 1.265 GB, free: 19.74 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.319, allocations: 1.812 kB / 1.265 GB, free: 19.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001645/1.319, allocations: 91.34 kB / 1.265 GB, free: 19.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.319, allocations: 6.594 kB / 1.265 GB, free: 19.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.319, allocations: 1.469 kB / 1.265 GB, free: 19.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.319, allocations: 1.781 kB / 1.265 GB, free: 19.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/1.319, allocations: 11.59 kB / 1.265 GB, free: 19.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.319, allocations: 8.391 kB / 1.265 GB, free: 19.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/1.319, allocations: 24.16 kB / 1.265 GB, free: 19.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/1.319, allocations: 2.562 kB / 1.265 GB, free: 19.67 MB / 1.014 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.0001723/1.319, allocations: 212.5 kB / 1.265 GB, free: 19.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.319, allocations: 133 kB / 1.265 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.396e-05/1.319, allocations: 132.9 kB / 1.265 GB, free: 19.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.708e-05/1.319, allocations: 181.7 kB / 1.266 GB, free: 19.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.027e-05/1.32, allocations: 180.2 kB / 1.266 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.88e-05/1.32, allocations: 188.1 kB / 1.266 GB, free: 18.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/1.32, allocations: 487.9 kB / 1.266 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.004e-05/1.32, allocations: 110.1 kB / 1.267 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/1.32, allocations: 105.6 kB / 1.267 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.122e-05/1.32, allocations: 178.9 kB / 1.267 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/1.32, allocations: 181.1 kB / 1.267 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.644e-05/1.32, allocations: 180.1 kB / 1.267 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-05/1.321, allocations: 193.2 kB / 1.267 GB, free: 17.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/1.321, allocations: 324 kB / 1.268 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/1.321, allocations: 215 kB / 1.268 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.321, allocations: 182.3 kB / 1.268 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.321, allocations: 103.5 kB / 1.268 GB, free: 16.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/1.321, allocations: 184.2 kB / 1.268 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/1.321, allocations: 107 kB / 1.268 GB, free: 16.22 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002885/1.322, allocations: 277.3 kB / 1.269 GB, free: 16.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.322, allocations: 0 / 1.269 GB, free: 16.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002705/1.322, allocations: 31.31 kB / 1.269 GB, free: 16.13 MB / 1.014 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.0001742/1.322, allocations: 173.1 kB / 1.269 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.313e-05/1.322, allocations: 20.31 kB / 1.269 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.322, allocations: 0 / 1.269 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/1.322, allocations: 1.875 kB / 1.269 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/1.323, allocations: 0.5432 MB / 1.269 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/1.324, allocations: 499.8 kB / 1.27 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/1.324, allocations: 0.7535 MB / 1.271 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001175/1.324, allocations: 33.36 kB / 1.271 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/1.325, allocations: 19.19 kB / 1.271 GB, free: 14.48 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.325, allocations: 0.9062 kB / 1.271 GB, free: 14.48 MB / 1.014 GB Notification: Performance of Templates: time 0.00849/1.333, allocations: 3.156 MB / 1.274 GB, free: 14.36 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches