Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.000932, allocations: 99.39 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.0009611/0.0009612, allocations: 177.3 kB / 15.95 MB, free: 216 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.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003733, allocations: 8 kB / 0.8708 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9074/0.9078, allocations: 153.7 MB / 1.021 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1853/1.093, allocations: 143 MB / 1.16 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005136/1.098, allocations: 5.023 MB / 1.165 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/1.099, allocations: 7.938 kB / 1.165 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004054/1.099, allocations: 91.5 kB / 1.165 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003793/1.1, allocations: 139.6 kB / 1.166 GB, free: 12.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/1.1, allocations: 191.5 kB / 1.166 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/1.101, allocations: 319.3 kB / 1.166 GB, free: 11.89 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/1.101, allocations: 94.2 kB / 1.166 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/1.101, allocations: 151.4 kB / 1.166 GB, free: 11.65 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/1.101, allocations: 115.5 kB / 1.166 GB, free: 11.54 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/1.101, allocations: 4 kB / 1.166 GB, free: 11.54 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/1.102, allocations: 95.69 kB / 1.167 GB, free: 11.44 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/1.102, allocations: 51.88 kB / 1.167 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/1.102, allocations: 61.58 kB / 1.167 GB, free: 11.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/1.102, allocations: 211.3 kB / 1.167 GB, free: 11.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/1.102, allocations: 0 / 1.167 GB, free: 11.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.405e-06/1.102, allocations: 0 / 1.167 GB, free: 11.12 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.102, allocations: 0 / 1.167 GB, free: 11.12 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005071/1.103, allocations: 482.9 kB / 1.167 GB, free: 10.6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/1.103, allocations: 11.98 kB / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/1.103, allocations: 43.7 kB / 1.167 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/1.103, allocations: 244.1 kB / 1.168 GB, free: 10.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/1.103, allocations: 143.4 kB / 1.168 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/1.103, allocations: 16 kB / 1.168 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/1.104, allocations: 290.8 kB / 1.168 GB, free: 9.766 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.104, allocations: 4 kB / 1.168 GB, free: 9.762 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/1.104, allocations: 7.953 kB / 1.168 GB, free: 9.754 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.104, allocations: 12 kB / 1.168 GB, free: 9.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/1.104, allocations: 160.6 kB / 1.168 GB, free: 9.586 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/1.105, allocations: 1.583 MB / 1.17 GB, free: 7.914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/1.106, allocations: 173.1 kB / 1.17 GB, free: 7.734 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/1.106, allocations: 79.22 kB / 1.17 GB, free: 7.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.106, allocations: 113.8 kB / 1.17 GB, free: 7.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.106, allocations: 0 / 1.17 GB, free: 7.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.07e-05/1.106, allocations: 41.52 kB / 1.17 GB, free: 7.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/1.106, allocations: 130.7 kB / 1.17 GB, free: 7.348 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/1.106, allocations: 310.6 kB / 1.171 GB, free: 7.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/1.106, allocations: 25.7 kB / 1.171 GB, free: 7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/1.106, allocations: 199.1 kB / 1.171 GB, free: 6.801 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-06/1.106, allocations: 4 kB / 1.171 GB, free: 6.797 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/1.106, allocations: 4 kB / 1.171 GB, free: 6.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.106, allocations: 334.8 kB / 1.171 GB, free: 6.457 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/1.107, allocations: 35.97 kB / 1.171 GB, free: 6.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/1.107, allocations: 158.8 kB / 1.171 GB, free: 6.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/1.107, allocations: 63.94 kB / 1.171 GB, free: 6.145 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.107, allocations: 4 kB / 1.171 GB, free: 6.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003721/1.107, allocations: 209.2 kB / 1.172 GB, free: 5.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.107, allocations: 8 kB / 1.172 GB, free: 5.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/1.107, allocations: 4 kB / 1.172 GB, free: 5.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.107, allocations: 11.98 kB / 1.172 GB, free: 5.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/1.107, allocations: 39.92 kB / 1.172 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/1.108, allocations: 7.953 kB / 1.172 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/1.108, allocations: 32.16 kB / 1.172 GB, free: 5.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/1.108, allocations: 23.94 kB / 1.172 GB, free: 5.805 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001576/1.108, allocations: 217 kB / 1.172 GB, free: 5.582 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/1.108, allocations: 128.7 kB / 1.172 GB, free: 5.449 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.137e-05/1.108, allocations: 121.8 kB / 1.172 GB, free: 5.324 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-05/1.108, allocations: 176.3 kB / 1.172 GB, free: 5.145 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/1.108, allocations: 188.2 kB / 1.172 GB, free: 4.953 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.842e-05/1.108, allocations: 188.2 kB / 1.173 GB, free: 4.762 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/1.109, allocations: 481.1 kB / 1.173 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/1.109, allocations: 101 kB / 1.173 GB, free: 4.129 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/1.109, allocations: 101 kB / 1.173 GB, free: 4.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.847e-05/1.109, allocations: 184.2 kB / 1.173 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/1.109, allocations: 184.3 kB / 1.174 GB, free: 3.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.576e-05/1.109, allocations: 180.2 kB / 1.174 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-05/1.109, allocations: 180.2 kB / 1.174 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/1.109, allocations: 327.5 kB / 1.174 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/1.109, allocations: 209.8 kB / 1.174 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/1.109, allocations: 188.2 kB / 1.175 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/1.109, allocations: 105 kB / 1.175 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/1.109, allocations: 176.3 kB / 1.175 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/1.109, allocations: 104.9 kB / 1.175 GB, free: 2.117 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002173/1.11, allocations: 221.9 kB / 1.175 GB, free: 1.902 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 1.175 GB, free: 1.902 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003435/1.11, allocations: 44 kB / 1.175 GB, free: 1.859 MB / 0.92 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.0001936/1.11, allocations: 190.5 kB / 1.175 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001914/1.11, allocations: 84.77 kB / 1.176 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.11, allocations: 0 / 1.176 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/1.11, allocations: 4.25 kB / 1.176 GB, free: 1.578 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/1.111, allocations: 0.5424 MB / 1.176 GB, free: 1.031 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/1.111, allocations: 449 kB / 1.177 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/1.112, allocations: 0.7437 MB / 1.177 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001536/1.112, allocations: 33.94 kB / 1.177 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/1.112, allocations: 15.44 kB / 1.177 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.112, allocations: 4 kB / 1.177 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.004536/1.116, allocations: 1.532 MB / 1.179 GB, free: 14.22 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches