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.001202/0.001202, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01019/0.01019, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.545/2.545, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8249, allocations: 142.4 MB / 0.955 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2568/1.082, allocations: 169.6 MB / 1.121 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01328/1.095, allocations: 9.388 MB / 1.13 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004307/1.096, allocations: 11.94 kB / 1.13 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006746/1.096, allocations: 151.1 kB / 1.13 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004142/1.097, allocations: 83.44 kB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/1.097, allocations: 55.95 kB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005478/1.097, allocations: 378.6 kB / 1.131 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/1.098, allocations: 193.7 kB / 1.131 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/1.098, allocations: 127.4 kB / 1.131 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/1.098, allocations: 99.36 kB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/1.098, allocations: 4 kB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.635e-05/1.099, allocations: 8 kB / 1.131 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/1.099, allocations: 51.83 kB / 1.131 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/1.099, allocations: 125.1 kB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/1.099, allocations: 258.9 kB / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.099, allocations: 0 / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.465e-06/1.099, allocations: 0 / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.099, allocations: 0 / 1.131 GB, free: 10.18 MB / 0.8887 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.0006222/1.1, allocations: 479 kB / 1.132 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.1, allocations: 8.031 kB / 1.132 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/1.1, allocations: 35.66 kB / 1.132 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/1.1, allocations: 270.3 kB / 1.132 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/1.1, allocations: 20.56 kB / 1.132 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/1.1, allocations: 27.98 kB / 1.132 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/1.101, allocations: 320 kB / 1.132 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.101, allocations: 3.938 kB / 1.132 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/1.101, allocations: 12 kB / 1.132 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/1.101, allocations: 12 kB / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/1.101, allocations: 151.7 kB / 1.133 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/1.103, allocations: 1.804 MB / 1.134 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.517e-05/1.103, allocations: 165.1 kB / 1.135 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/1.103, allocations: 80.14 kB / 1.135 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/1.103, allocations: 79.22 kB / 1.135 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/1.103, allocations: 113.8 kB / 1.135 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 7.023e-06/1.103, allocations: 0 / 1.135 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001209/1.103, allocations: 65.25 kB / 1.135 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/1.103, allocations: 126.7 kB / 1.135 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/1.104, allocations: 365.8 kB / 1.135 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/1.104, allocations: 37.64 kB / 1.135 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.104, allocations: 163.8 kB / 1.136 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/1.104, allocations: 4 kB / 1.136 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/1.104, allocations: 13.72 kB / 1.136 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.104, allocations: 338.8 kB / 1.136 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/1.104, allocations: 4 kB / 1.136 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/1.104, allocations: 32.3 kB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/1.104, allocations: 52.2 kB / 1.136 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.104, allocations: 4 kB / 1.136 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001887/1.104, allocations: 85.28 kB / 1.136 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.104, allocations: 11.98 kB / 1.136 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.104, allocations: 4.156 kB / 1.136 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.104, allocations: 0 / 1.136 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/1.104, allocations: 11.94 kB / 1.136 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.104, allocations: 4 kB / 1.136 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/1.105, allocations: 27.59 kB / 1.136 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/1.105, allocations: 0 / 1.136 GB, free: 4.965 MB / 0.8887 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.0001563/1.105, allocations: 213.1 kB / 1.136 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/1.105, allocations: 128.6 kB / 1.136 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/1.105, allocations: 134.9 kB / 1.137 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.458e-05/1.105, allocations: 184.2 kB / 1.137 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/1.105, allocations: 180.2 kB / 1.137 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.999e-05/1.105, allocations: 180.2 kB / 1.137 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/1.105, allocations: 489.1 kB / 1.138 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/1.105, allocations: 112.9 kB / 1.138 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/1.106, allocations: 101 kB / 1.138 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.147e-05/1.106, allocations: 188.2 kB / 1.138 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/1.106, allocations: 184.2 kB / 1.138 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/1.106, allocations: 176.3 kB / 1.138 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.679e-05/1.106, allocations: 180.2 kB / 1.138 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/1.106, allocations: 339.4 kB / 1.139 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.106, allocations: 209.7 kB / 1.139 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/1.106, allocations: 184.2 kB / 1.139 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.106, allocations: 105.1 kB / 1.139 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/1.106, allocations: 180.3 kB / 1.139 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/1.106, allocations: 108.9 kB / 1.139 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002819/1.107, allocations: 275.1 kB / 1.14 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/1.107, allocations: 0 / 1.14 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002687/1.107, allocations: 31.94 kB / 1.14 GB, free: 0.9414 MB / 0.8887 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.0001402/1.107, allocations: 174.5 kB / 1.14 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.545e-05/1.107, allocations: 24 kB / 1.14 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.107, allocations: 0 / 1.14 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/1.107, allocations: 352 / 1.14 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009314/1.108, allocations: 0.6132 MB / 1.141 GB, free: 124 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/1.109, allocations: 0.4931 MB / 1.141 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.109, allocations: 0.756 MB / 1.142 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001273/1.109, allocations: 34.95 kB / 1.142 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/1.109, allocations: 19.44 kB / 1.142 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/1.109, allocations: 0 / 1.142 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.006804/1.116, allocations: 2.996 MB / 1.145 GB, free: 11.82 MB / 0.9044 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