Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001597/0.001597, allocations: 105.3 kB / 16.27 MB, free: 6.008 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.001944/0.001944, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.27 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3259, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.8974/1.223, allocations: 170.3 MB / 1.184 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007583/1.231, allocations: 6 MB / 1.19 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/1.231, allocations: 14.19 kB / 1.19 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006666/1.232, allocations: 193.9 kB / 1.19 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003771/1.233, allocations: 81.66 kB / 1.19 GB, free: 456 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/1.234, allocations: 0.5225 MB / 1.191 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005719/1.235, allocations: 411.2 kB / 1.191 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/1.235, allocations: 143.8 kB / 1.191 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/1.235, allocations: 183.3 kB / 1.192 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/1.236, allocations: 150.6 kB / 1.192 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/1.236, allocations: 15.88 kB / 1.192 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000922/1.237, allocations: 460.4 kB / 1.192 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/1.237, allocations: 72.52 kB / 1.192 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/1.237, allocations: 109.1 kB / 1.192 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000678/1.238, allocations: 430.4 kB / 1.193 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.238, allocations: 0 / 1.193 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.713e-06/1.238, allocations: 0 / 1.193 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.295e-05/1.238, allocations: 4 kB / 1.193 GB, free: 14.9 MB / 0.9044 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.0007154/1.238, allocations: 0.524 MB / 1.193 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.238, allocations: 11.39 kB / 1.193 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/1.239, allocations: 41.8 kB / 1.193 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/1.239, allocations: 259 kB / 1.194 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/1.239, allocations: 134.1 kB / 1.194 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/1.239, allocations: 25.19 kB / 1.194 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/1.24, allocations: 290.5 kB / 1.194 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.24, allocations: 1.938 kB / 1.194 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/1.24, allocations: 14.81 kB / 1.194 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.24, allocations: 8.375 kB / 1.194 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/1.24, allocations: 164.8 kB / 1.194 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/1.242, allocations: 1.574 MB / 1.196 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.403e-05/1.242, allocations: 169.1 kB / 1.196 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/1.242, allocations: 80.14 kB / 1.196 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.242, allocations: 75.28 kB / 1.196 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/1.242, allocations: 116 kB / 1.196 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.242, allocations: 0 / 1.196 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.651e-05/1.242, allocations: 53.2 kB / 1.196 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.242, allocations: 126.7 kB / 1.196 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/1.242, allocations: 316.5 kB / 1.197 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/1.242, allocations: 25.7 kB / 1.197 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/1.242, allocations: 186.8 kB / 1.197 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/1.243, allocations: 4 kB / 1.197 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/1.243, allocations: 50.94 kB / 1.197 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.243, allocations: 341.6 kB / 1.197 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/1.243, allocations: 37.41 kB / 1.197 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/1.243, allocations: 160.5 kB / 1.197 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/1.243, allocations: 194 kB / 1.198 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.243, allocations: 0 / 1.198 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004005/1.244, allocations: 219.7 kB / 1.198 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.244, allocations: 7.125 kB / 1.198 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.244, allocations: 10.5 kB / 1.198 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.244, allocations: 8.406 kB / 1.198 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/1.244, allocations: 37.05 kB / 1.198 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.244, allocations: 7.844 kB / 1.198 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/1.244, allocations: 33.91 kB / 1.198 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.244, allocations: 8.406 kB / 1.198 GB, free: 10.12 MB / 0.9044 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.0001589/1.244, allocations: 220.2 kB / 1.198 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/1.244, allocations: 125 kB / 1.198 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/1.244, allocations: 129.4 kB / 1.198 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.937e-05/1.245, allocations: 188.2 kB / 1.199 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/1.245, allocations: 179.3 kB / 1.199 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.118e-05/1.245, allocations: 176.3 kB / 1.199 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/1.245, allocations: 482.9 kB / 1.199 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.171e-05/1.245, allocations: 101 kB / 1.199 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/1.245, allocations: 108.9 kB / 1.2 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.451e-05/1.245, allocations: 182 kB / 1.2 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/1.245, allocations: 186.1 kB / 1.2 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-05/1.245, allocations: 182.2 kB / 1.2 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-05/1.245, allocations: 180.3 kB / 1.2 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/1.246, allocations: 327.3 kB / 1.201 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/1.246, allocations: 208.9 kB / 1.201 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/1.246, allocations: 185.7 kB / 1.201 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/1.246, allocations: 106.8 kB / 1.201 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/1.246, allocations: 180.2 kB / 1.201 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/1.246, allocations: 110.2 kB / 1.201 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002475/1.246, allocations: 220.4 kB / 1.202 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/1.246, allocations: 1.406 kB / 1.202 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003765/1.247, allocations: 49.16 kB / 1.202 GB, free: 6.355 MB / 0.9044 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.0003531/1.247, allocations: 211.3 kB / 1.202 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002141/1.247, allocations: 76.78 kB / 1.202 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.247, allocations: 4.062 kB / 1.202 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/1.247, allocations: 0 / 1.202 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/1.248, allocations: 492.5 kB / 1.202 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/1.248, allocations: 427.2 kB / 1.203 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/1.249, allocations: 0.7378 MB / 1.203 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/1.249, allocations: 23.53 kB / 1.203 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.249, allocations: 0 / 1.203 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of Templates: time 0.005054/1.254, allocations: 2.824 MB / 1.206 GB, free: 3.125 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches