Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.005813/0.005813, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001222/0.001222, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.178, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2739/1.452, allocations: 170.3 MB / 1.254 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008357/1.46, allocations: 6.006 MB / 1.26 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004828/1.461, allocations: 4 kB / 1.26 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000876/1.462, allocations: 190.7 kB / 1.26 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004336/1.462, allocations: 95.38 kB / 1.26 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/1.464, allocations: 0.5138 MB / 1.261 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000611/1.465, allocations: 414.8 kB / 1.261 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/1.465, allocations: 135.6 kB / 1.261 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/1.465, allocations: 195.2 kB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/1.466, allocations: 143.4 kB / 1.262 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/1.466, allocations: 19.94 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009038/1.467, allocations: 462.9 kB / 1.262 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/1.467, allocations: 63.81 kB / 1.262 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/1.467, allocations: 107.4 kB / 1.262 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007015/1.468, allocations: 456.4 kB / 1.263 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/1.468, allocations: 4 kB / 1.263 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/1.468, allocations: 0 / 1.263 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.755e-05/1.468, allocations: 0 / 1.263 GB, free: 10.59 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008889/1.469, allocations: 0.5146 MB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/1.469, allocations: 8.031 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/1.469, allocations: 47.7 kB / 1.263 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/1.47, allocations: 266.5 kB / 1.264 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/1.47, allocations: 131.4 kB / 1.264 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/1.47, allocations: 24 kB / 1.264 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/1.47, allocations: 294.8 kB / 1.264 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/1.47, allocations: 8 kB / 1.264 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/1.471, allocations: 8 kB / 1.264 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/1.471, allocations: 8 kB / 1.264 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/1.471, allocations: 156.6 kB / 1.264 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/1.473, allocations: 1.583 MB / 1.266 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/1.473, allocations: 169.1 kB / 1.266 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/1.473, allocations: 80.14 kB / 1.266 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/1.473, allocations: 79.22 kB / 1.266 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.037e-05/1.473, allocations: 109.8 kB / 1.266 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.473, allocations: 0 / 1.266 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001172/1.473, allocations: 49.39 kB / 1.266 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.473, allocations: 134.7 kB / 1.266 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/1.474, allocations: 310.5 kB / 1.267 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.474, allocations: 25.7 kB / 1.267 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/1.474, allocations: 187.2 kB / 1.267 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/1.474, allocations: 0 / 1.267 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/1.474, allocations: 49.61 kB / 1.267 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.474, allocations: 330.8 kB / 1.267 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/1.474, allocations: 39.97 kB / 1.267 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/1.474, allocations: 161.1 kB / 1.267 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/1.475, allocations: 192.9 kB / 1.268 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.475, allocations: 3.938 kB / 1.268 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000409/1.475, allocations: 217 kB / 1.268 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.475, allocations: 11.94 kB / 1.268 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.475, allocations: 4 kB / 1.268 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.475, allocations: 4.625 kB / 1.268 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/1.475, allocations: 47.92 kB / 1.268 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.475, allocations: 4 kB / 1.268 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/1.476, allocations: 35.58 kB / 1.268 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/1.476, allocations: 12 kB / 1.268 GB, free: 4.898 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001757/1.476, allocations: 217 kB / 1.268 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/1.476, allocations: 132.7 kB / 1.268 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/1.476, allocations: 121.8 kB / 1.268 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.874e-05/1.476, allocations: 180.3 kB / 1.269 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.77e-05/1.476, allocations: 184.2 kB / 1.269 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.829e-05/1.476, allocations: 176.3 kB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/1.477, allocations: 485.1 kB / 1.269 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/1.477, allocations: 101 kB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/1.477, allocations: 105 kB / 1.27 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-05/1.477, allocations: 188.1 kB / 1.27 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/1.477, allocations: 180.3 kB / 1.27 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.29e-05/1.477, allocations: 184.2 kB / 1.27 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.413e-05/1.477, allocations: 176.3 kB / 1.27 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/1.477, allocations: 331.5 kB / 1.271 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/1.477, allocations: 206.2 kB / 1.271 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/1.477, allocations: 184.1 kB / 1.271 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/1.478, allocations: 113 kB / 1.271 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/1.478, allocations: 184.2 kB / 1.271 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/1.478, allocations: 109 kB / 1.271 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002409/1.478, allocations: 221.9 kB / 1.272 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.478, allocations: 0 / 1.272 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004004/1.478, allocations: 59.84 kB / 1.272 GB, free: 0.9258 MB / 0.9981 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.000323/1.479, allocations: 202.5 kB / 1.272 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000206/1.479, allocations: 80.78 kB / 1.272 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.479, allocations: 4 kB / 1.272 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.688e-06/1.479, allocations: 8.188 kB / 1.272 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/1.479, allocations: 482.7 kB / 1.272 GB, free: 156 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/1.48, allocations: 388.8 kB / 1.273 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.481, allocations: 0.7437 MB / 1.273 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001155/1.481, allocations: 37.88 kB / 1.273 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/1.481, allocations: 15.44 kB / 1.273 GB, free: 14.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/1.481, allocations: 0 / 1.273 GB, free: 14.93 MB / 1.014 GB Notification: Performance of Templates: time 0.005408/1.486, allocations: 1.854 MB / 1.275 GB, free: 13.08 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches