Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009538/0.0009578, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.0009961/0.0009961, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003766, allocations: 11.98 kB / 0.8708 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9336/0.934, allocations: 153.7 MB / 1.021 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1864/1.121, allocations: 145.3 MB / 1.163 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00852/1.129, allocations: 7.432 MB / 1.17 GB, free: 8.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/1.129, allocations: 7.938 kB / 1.17 GB, free: 8.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004064/1.13, allocations: 59.66 kB / 1.17 GB, free: 7.996 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003265/1.13, allocations: 123.6 kB / 1.17 GB, free: 7.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/1.13, allocations: 47.89 kB / 1.17 GB, free: 7.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006176/1.131, allocations: 295.3 kB / 1.17 GB, free: 7.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/1.131, allocations: 105.2 kB / 1.171 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/1.132, allocations: 123.5 kB / 1.171 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/1.132, allocations: 63.59 kB / 1.171 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/1.132, allocations: 7.938 kB / 1.171 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/1.132, allocations: 4 kB / 1.171 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/1.132, allocations: 19.86 kB / 1.171 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/1.132, allocations: 53.64 kB / 1.171 GB, free: 7.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/1.132, allocations: 155.5 kB / 1.171 GB, free: 7.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/1.132, allocations: 0 / 1.171 GB, free: 7.012 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.564e-06/1.132, allocations: 8 kB / 1.171 GB, free: 7.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.132, allocations: 0 / 1.171 GB, free: 7.004 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004631/1.132, allocations: 431.1 kB / 1.171 GB, free: 6.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.133, allocations: 15.97 kB / 1.171 GB, free: 6.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/1.133, allocations: 27.66 kB / 1.171 GB, free: 6.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/1.133, allocations: 241.5 kB / 1.172 GB, free: 6.219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.133, allocations: 16.44 kB / 1.172 GB, free: 6.203 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/1.133, allocations: 16 kB / 1.172 GB, free: 6.188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/1.133, allocations: 235.8 kB / 1.172 GB, free: 5.918 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.133, allocations: 3.953 kB / 1.172 GB, free: 5.914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/1.133, allocations: 12 kB / 1.172 GB, free: 5.902 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/1.133, allocations: 4 kB / 1.172 GB, free: 5.898 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/1.134, allocations: 91.78 kB / 1.172 GB, free: 5.809 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.135, allocations: 1.429 MB / 1.173 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/1.135, allocations: 173.1 kB / 1.174 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/1.135, allocations: 75.28 kB / 1.174 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/1.135, allocations: 105.8 kB / 1.174 GB, free: 3.926 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.135, allocations: 0 / 1.174 GB, free: 3.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.616e-05/1.135, allocations: 53.36 kB / 1.174 GB, free: 3.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/1.135, allocations: 134.7 kB / 1.174 GB, free: 3.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/1.135, allocations: 275 kB / 1.174 GB, free: 3.445 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/1.135, allocations: 33.7 kB / 1.174 GB, free: 3.406 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.135, allocations: 143.9 kB / 1.174 GB, free: 3.262 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/1.135, allocations: 0 / 1.174 GB, free: 3.262 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/1.135, allocations: 4 kB / 1.174 GB, free: 3.258 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.135, allocations: 334.8 kB / 1.175 GB, free: 2.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/1.135, allocations: 0 / 1.175 GB, free: 2.922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/1.136, allocations: 31.41 kB / 1.175 GB, free: 2.879 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/1.136, allocations: 12 kB / 1.175 GB, free: 2.867 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.136, allocations: 0 / 1.175 GB, free: 2.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/1.136, allocations: 77.25 kB / 1.175 GB, free: 2.785 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.136, allocations: 11.98 kB / 1.175 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.136, allocations: 0 / 1.175 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/1.136, allocations: 4.047 kB / 1.175 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/1.136, allocations: 16.06 kB / 1.175 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.136, allocations: 0 / 1.175 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/1.136, allocations: 23.69 kB / 1.175 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/1.136, allocations: 0 / 1.175 GB, free: 2.73 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.136, allocations: 197.1 kB / 1.175 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/1.136, allocations: 136.6 kB / 1.175 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/1.136, allocations: 117.9 kB / 1.175 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.326e-05/1.136, allocations: 192.2 kB / 1.175 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-05/1.136, allocations: 180.3 kB / 1.176 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/1.136, allocations: 176.3 kB / 1.176 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/1.137, allocations: 469.1 kB / 1.176 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/1.137, allocations: 105.1 kB / 1.176 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/1.137, allocations: 112.9 kB / 1.176 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.792e-05/1.137, allocations: 180.3 kB / 1.177 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/1.137, allocations: 180.2 kB / 1.177 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-05/1.137, allocations: 192.2 kB / 1.177 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001115/1.137, allocations: 176.3 kB / 1.177 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/1.137, allocations: 323.6 kB / 1.177 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/1.137, allocations: 205.7 kB / 1.178 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/1.137, allocations: 180.3 kB / 1.178 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/1.138, allocations: 104.9 kB / 1.178 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.138, allocations: 184.2 kB / 1.178 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/1.138, allocations: 105 kB / 1.178 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002056/1.138, allocations: 205.9 kB / 1.178 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.138, allocations: 4 kB / 1.178 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002362/1.138, allocations: 20 kB / 1.178 GB, free: 14.85 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/1.138, allocations: 174.5 kB / 1.179 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.529e-05/1.138, allocations: 11.94 kB / 1.179 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.138, allocations: 256 / 1.179 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/1.138, allocations: 4 kB / 1.179 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/1.139, allocations: 0.6013 MB / 1.179 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/1.14, allocations: 402.2 kB / 1.18 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/1.14, allocations: 0.7287 MB / 1.18 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.385e-05/1.14, allocations: 30.02 kB / 1.18 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/1.14, allocations: 19.44 kB / 1.18 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/1.14, allocations: 0 / 1.18 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.005717/1.146, allocations: 2.206 MB / 1.183 GB, free: 10.64 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches