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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001128/0.001128, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 197.3 kB / 16.53 MB, free: 6.699 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.12 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3664, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2019/0.5684, allocations: 170.3 MB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007405/0.5758, allocations: 6.006 MB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/0.5762, allocations: 15.94 kB / 1.24 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.5769, allocations: 178.8 kB / 1.241 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.5773, allocations: 95.38 kB / 1.241 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.5786, allocations: 0.5177 MB / 1.241 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.5791, allocations: 418.6 kB / 1.242 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.5794, allocations: 131.6 kB / 1.242 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.5797, allocations: 195.3 kB / 1.242 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.5799, allocations: 151.4 kB / 1.242 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.58, allocations: 16 kB / 1.242 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007677/0.5807, allocations: 454.8 kB / 1.243 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.5808, allocations: 63.81 kB / 1.243 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.581, allocations: 111.5 kB / 1.243 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.5816, allocations: 438.8 kB / 1.243 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5816, allocations: 0 / 1.243 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5816, allocations: 3.938 kB / 1.243 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.5816, allocations: 4 kB / 1.243 GB, free: 6.617 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.0006151/0.5823, allocations: 0.5146 MB / 1.244 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5823, allocations: 8.031 kB / 1.244 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.5826, allocations: 43.7 kB / 1.244 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.5829, allocations: 250.6 kB / 1.244 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.5831, allocations: 135.4 kB / 1.244 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.5831, allocations: 28 kB / 1.244 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.5836, allocations: 290.8 kB / 1.244 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5836, allocations: 4 kB / 1.244 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.5836, allocations: 12 kB / 1.244 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.5837, allocations: 11.94 kB / 1.244 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.584, allocations: 156.6 kB / 1.245 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.5853, allocations: 1.583 MB / 1.246 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.818e-05/0.5854, allocations: 169.1 kB / 1.246 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.5855, allocations: 80.14 kB / 1.246 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.5855, allocations: 75.28 kB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.5856, allocations: 109.8 kB / 1.246 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5856, allocations: 0 / 1.246 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.168e-05/0.5857, allocations: 53.39 kB / 1.247 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.5857, allocations: 134.6 kB / 1.247 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.5861, allocations: 310.5 kB / 1.247 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.5861, allocations: 25.7 kB / 1.247 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5862, allocations: 191.2 kB / 1.247 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.5862, allocations: 0 / 1.247 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.5863, allocations: 45.7 kB / 1.247 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5864, allocations: 334.8 kB / 1.248 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.5865, allocations: 35.97 kB / 1.248 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.5867, allocations: 163.5 kB / 1.248 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.5869, allocations: 196.9 kB / 1.248 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5869, allocations: 0 / 1.248 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004014/0.5873, allocations: 220.9 kB / 1.248 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5874, allocations: 11.94 kB / 1.248 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5874, allocations: 4.625 kB / 1.248 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5874, allocations: 8 kB / 1.248 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.5876, allocations: 43.92 kB / 1.248 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5876, allocations: 4 kB / 1.248 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.5878, allocations: 35.61 kB / 1.248 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.5878, allocations: 12 kB / 1.248 GB, free: 0.9414 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.0001308/0.5879, allocations: 214.8 kB / 1.248 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.588, allocations: 132.6 kB / 1.249 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-05/0.5881, allocations: 125.8 kB / 1.249 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.687e-05/0.5881, allocations: 176.3 kB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.758e-05/0.5882, allocations: 180.2 kB / 1.249 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7067/1.295, allocations: 176.8 kB / 1.249 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/1.295, allocations: 481.8 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/1.295, allocations: 104.8 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/1.295, allocations: 107.6 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.94e-05/1.296, allocations: 181 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/1.296, allocations: 179.4 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/1.296, allocations: 185.7 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.606e-05/1.296, allocations: 181.6 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/1.296, allocations: 327.3 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/1.296, allocations: 206.6 kB / 1.251 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/1.296, allocations: 182.2 kB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.296, allocations: 109.9 kB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/1.296, allocations: 186 kB / 1.251 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/1.296, allocations: 102.2 kB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002906/1.296, allocations: 222.8 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.296, allocations: 1.062 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005155/1.297, allocations: 54.33 kB / 1.252 GB, free: 185.1 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.0003938/1.297, allocations: 209.9 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002549/1.298, allocations: 78.64 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.298, allocations: 5.156 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/1.298, allocations: 0 / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/1.298, allocations: 480.5 kB / 1.253 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/1.299, allocations: 397.2 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/1.299, allocations: 0.743 MB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001582/1.299, allocations: 33.14 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/1.299, allocations: 17.52 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.299, allocations: 3.188 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.005695/1.305, allocations: 1.821 MB / 1.256 GB, free: 183.4 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches