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.01149/0.01149, allocations: 101.1 kB / 15.73 MB, free: 6.473 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.001825/0.001825, allocations: 195 kB / 16.67 MB, free: 6.379 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.61/1.61, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.474/2.474, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.11 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3983, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2122/0.6106, allocations: 170.3 MB / 1.254 GB, free: 6.465 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007391/0.6181, allocations: 6.003 MB / 1.26 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.6185, allocations: 8 kB / 1.26 GB, free: 444 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.6193, allocations: 190.7 kB / 1.26 GB, free: 252 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.6197, allocations: 95.38 kB / 1.26 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.9027/1.522, allocations: 0.5188 MB / 1.261 GB, free: 3.719 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000832/1.523, allocations: 416 kB / 1.261 GB, free: 3.719 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/1.524, allocations: 138.2 kB / 1.261 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/1.524, allocations: 199.9 kB / 1.262 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/1.524, allocations: 149.4 kB / 1.262 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/1.524, allocations: 16.88 kB / 1.262 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/1.526, allocations: 456.9 kB / 1.262 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/1.526, allocations: 66.75 kB / 1.262 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/1.526, allocations: 107.4 kB / 1.262 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009412/1.527, allocations: 453.6 kB / 1.263 GB, free: 3.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.527, allocations: 1.469 kB / 1.263 GB, free: 3.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/1.527, allocations: 0 / 1.263 GB, free: 3.707 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.527, allocations: 0 / 1.263 GB, free: 3.707 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007117/1.528, allocations: 0.5236 MB / 1.263 GB, free: 3.281 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.528, allocations: 9.781 kB / 1.263 GB, free: 3.281 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/1.528, allocations: 44.27 kB / 1.263 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/1.528, allocations: 259.8 kB / 1.264 GB, free: 3.059 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.529, allocations: 132.4 kB / 1.264 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/1.529, allocations: 26.12 kB / 1.264 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/1.529, allocations: 292.9 kB / 1.264 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.529, allocations: 2.031 kB / 1.264 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/1.529, allocations: 9.312 kB / 1.264 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/1.529, allocations: 6.469 kB / 1.264 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/1.53, allocations: 161.7 kB / 1.264 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/1.531, allocations: 1.584 MB / 1.266 GB, free: 17.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/1.531, allocations: 171.3 kB / 1.266 GB, free: 17.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/1.531, allocations: 85.98 kB / 1.266 GB, free: 17.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/1.531, allocations: 76.69 kB / 1.266 GB, free: 17.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/1.531, allocations: 108.2 kB / 1.266 GB, free: 17.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/1.531, allocations: 1.781 kB / 1.266 GB, free: 17.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.728e-05/1.531, allocations: 49.73 kB / 1.266 GB, free: 17.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.531, allocations: 128.8 kB / 1.266 GB, free: 16.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/1.532, allocations: 310.8 kB / 1.267 GB, free: 16.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/1.532, allocations: 27.64 kB / 1.267 GB, free: 16.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/1.532, allocations: 189.1 kB / 1.267 GB, free: 16.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/1.532, allocations: 3.609 kB / 1.267 GB, free: 16.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/1.532, allocations: 46.14 kB / 1.267 GB, free: 16.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.532, allocations: 329.6 kB / 1.267 GB, free: 16.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/1.532, allocations: 37.45 kB / 1.267 GB, free: 16.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/1.533, allocations: 165.9 kB / 1.267 GB, free: 16.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/1.533, allocations: 194.2 kB / 1.268 GB, free: 15.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.533, allocations: 1.656 kB / 1.268 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005021/1.533, allocations: 217.9 kB / 1.268 GB, free: 15.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.533, allocations: 11.88 kB / 1.268 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.533, allocations: 5.109 kB / 1.268 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.533, allocations: 7.344 kB / 1.268 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/1.534, allocations: 38.22 kB / 1.268 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/1.534, allocations: 6.781 kB / 1.268 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/1.534, allocations: 38.28 kB / 1.268 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/1.534, allocations: 10 kB / 1.268 GB, free: 15.91 MB / 1.029 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.0001825/1.534, allocations: 226.7 kB / 1.268 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/1.534, allocations: 123.2 kB / 1.268 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.376e-05/1.534, allocations: 123.8 kB / 1.268 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/1.534, allocations: 186.4 kB / 1.269 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-05/1.534, allocations: 181.9 kB / 1.269 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-05/1.535, allocations: 180.9 kB / 1.269 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/1.535, allocations: 482.3 kB / 1.269 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/1.535, allocations: 103.6 kB / 1.269 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/1.535, allocations: 109.8 kB / 1.27 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-05/1.535, allocations: 183.3 kB / 1.27 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/1.535, allocations: 182.3 kB / 1.27 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.117e-05/1.535, allocations: 178.7 kB / 1.27 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-05/1.535, allocations: 182.1 kB / 1.27 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/1.536, allocations: 329.6 kB / 1.271 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.536, allocations: 201.8 kB / 1.271 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.536, allocations: 190.3 kB / 1.271 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.536, allocations: 104.1 kB / 1.271 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/1.536, allocations: 182.8 kB / 1.271 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/1.536, allocations: 102.9 kB / 1.271 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002954/1.536, allocations: 222 kB / 1.272 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.536, allocations: 0.7188 kB / 1.272 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004291/1.537, allocations: 54.2 kB / 1.272 GB, free: 12.39 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.0003104/1.537, allocations: 212.4 kB / 1.272 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000223/1.537, allocations: 78.94 kB / 1.272 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.537, allocations: 0.8125 kB / 1.272 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/1.537, allocations: 4.344 kB / 1.272 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/1.538, allocations: 488.2 kB / 1.272 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/1.539, allocations: 387.3 kB / 1.273 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/1.539, allocations: 0.7443 MB / 1.273 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001292/1.539, allocations: 34.55 kB / 1.273 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/1.539, allocations: 17.2 kB / 1.273 GB, free: 10.82 MB / 1.029 GB Notification: Performance of SimCode: time 1.963e-06/1.539, allocations: 1.031 kB / 1.273 GB, free: 10.82 MB / 1.029 GB Notification: Performance of Templates: time 0.007871/1.547, allocations: 1.854 MB / 1.275 GB, free: 10.76 MB / 1.029 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