Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009087/0.009086, allocations: 102.1 kB / 15.73 MB, free: 6.012 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: 196.6 kB / 16.67 MB, free: 5.938 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.043 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.553/2.553, allocations: 390.2 MB / 0.6648 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 58.25 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3215, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2039/0.5255, allocations: 174 MB / 1.258 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.8601/1.386, allocations: 9.504 MB / 1.267 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004837/1.386, allocations: 10.75 kB / 1.267 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007215/1.387, allocations: 190.8 kB / 1.267 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003178/1.387, allocations: 92.62 kB / 1.267 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/1.388, allocations: 65 kB / 1.268 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/1.388, allocations: 330 kB / 1.268 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/1.388, allocations: 204.7 kB / 1.268 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/1.389, allocations: 168.8 kB / 1.268 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/1.389, allocations: 125 kB / 1.268 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/1.389, allocations: 21.66 kB / 1.268 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-05/1.389, allocations: 21.69 kB / 1.268 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/1.389, allocations: 74.7 kB / 1.268 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/1.39, allocations: 127.5 kB / 1.269 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/1.39, allocations: 295.6 kB / 1.269 GB, free: 3.516 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.39, allocations: 1.781 kB / 1.269 GB, free: 3.516 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/1.39, allocations: 0.75 kB / 1.269 GB, free: 3.516 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.405e-06/1.39, allocations: 0 / 1.269 GB, free: 3.516 MB / 1.014 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.0005827/1.391, allocations: 0.5141 MB / 1.269 GB, free: 3.105 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.391, allocations: 9.906 kB / 1.269 GB, free: 3.105 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/1.391, allocations: 32.44 kB / 1.269 GB, free: 3.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/1.391, allocations: 274.8 kB / 1.27 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/1.391, allocations: 20.44 kB / 1.27 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/1.391, allocations: 25.34 kB / 1.27 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/1.392, allocations: 324 kB / 1.27 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.392, allocations: 4.156 kB / 1.27 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/1.392, allocations: 14.78 kB / 1.27 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/1.392, allocations: 8.609 kB / 1.27 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/1.392, allocations: 146.2 kB / 1.27 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/1.394, allocations: 1.818 MB / 1.272 GB, free: 17.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/1.394, allocations: 171.7 kB / 1.272 GB, free: 17.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/1.394, allocations: 81.95 kB / 1.272 GB, free: 17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/1.394, allocations: 77.95 kB / 1.272 GB, free: 16.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.394, allocations: 112 kB / 1.272 GB, free: 16.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.083e-06/1.394, allocations: 0 / 1.272 GB, free: 16.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.819e-05/1.394, allocations: 51.73 kB / 1.272 GB, free: 16.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/1.394, allocations: 132.1 kB / 1.273 GB, free: 16.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/1.394, allocations: 373.9 kB / 1.273 GB, free: 16.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.395, allocations: 27.36 kB / 1.273 GB, free: 16.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.395, allocations: 169.1 kB / 1.273 GB, free: 16.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-06/1.395, allocations: 1.625 kB / 1.273 GB, free: 16.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/1.395, allocations: 20.91 kB / 1.273 GB, free: 16.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.395, allocations: 337.3 kB / 1.273 GB, free: 16.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/1.395, allocations: 4.422 kB / 1.273 GB, free: 16.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/1.395, allocations: 37.55 kB / 1.273 GB, free: 16.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/1.395, allocations: 52.39 kB / 1.274 GB, free: 15.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.395, allocations: 0 / 1.274 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002098/1.395, allocations: 87.58 kB / 1.274 GB, free: 15.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.395, allocations: 7.391 kB / 1.274 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.395, allocations: 2.156 kB / 1.274 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.395, allocations: 1.625 kB / 1.274 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/1.395, allocations: 9.922 kB / 1.274 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.395, allocations: 2.828 kB / 1.274 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/1.395, allocations: 29.75 kB / 1.274 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/1.396, allocations: 1.938 kB / 1.274 GB, free: 15.93 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.0001509/1.396, allocations: 217.5 kB / 1.274 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/1.396, allocations: 132.1 kB / 1.274 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/1.396, allocations: 128.8 kB / 1.274 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-05/1.396, allocations: 182.3 kB / 1.274 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.316e-05/1.396, allocations: 182.5 kB / 1.274 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.189e-05/1.396, allocations: 183.5 kB / 1.275 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/1.397, allocations: 492.8 kB / 1.275 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.64e-05/1.397, allocations: 107.7 kB / 1.275 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/1.397, allocations: 108.7 kB / 1.275 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/1.397, allocations: 182.2 kB / 1.275 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.881e-05/1.397, allocations: 182.5 kB / 1.276 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-05/1.397, allocations: 178.6 kB / 1.276 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-05/1.397, allocations: 182.5 kB / 1.276 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/1.397, allocations: 335.3 kB / 1.276 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.397, allocations: 207.9 kB / 1.277 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/1.397, allocations: 181.7 kB / 1.277 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1.398, allocations: 104.6 kB / 1.277 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/1.398, allocations: 186.5 kB / 1.277 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/1.398, allocations: 106.8 kB / 1.277 GB, free: 12.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003544/1.398, allocations: 270.4 kB / 1.277 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.593e-06/1.398, allocations: 0 / 1.277 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003476/1.398, allocations: 39.66 kB / 1.277 GB, free: 12.38 MB / 1.029 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.000171/1.399, allocations: 173.9 kB / 1.278 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.365e-05/1.399, allocations: 18.88 kB / 1.278 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.399, allocations: 0.75 kB / 1.278 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-06/1.399, allocations: 1.938 kB / 1.278 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/1.4, allocations: 0.5512 MB / 1.278 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/1.4, allocations: 441.8 kB / 1.279 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.401, allocations: 0.7527 MB / 1.279 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001071/1.401, allocations: 33.25 kB / 1.279 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/1.401, allocations: 19.78 kB / 1.279 GB, free: 10.79 MB / 1.029 GB Notification: Performance of SimCode: time 2.4e-07/1.401, allocations: 4.969 kB / 1.279 GB, free: 10.79 MB / 1.029 GB Notification: Performance of Templates: time 0.01087/1.412, allocations: 3.246 MB / 1.282 GB, free: 10.68 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches