Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 98.88 kB / 16.02 MB, free: 76 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.00157/0.00157, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 12 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.7993, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.004273/0.8036, allocations: 2.631 MB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.9817, allocations: 150.8 MB / 1.174 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005827/0.9823, allocations: 4 kB / 1.174 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.9841, allocations: 0.5328 MB / 1.174 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.9862, allocations: 0.6028 MB / 1.175 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.9881, allocations: 0.5631 MB / 1.175 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.9896, allocations: 1.297 MB / 1.176 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.9899, allocations: 186.5 kB / 1.177 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.9905, allocations: 430.2 kB / 1.177 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000836/0.9913, allocations: 0.5952 MB / 1.178 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.963e-05/0.9914, allocations: 56 kB / 1.178 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.9939, allocations: 1.24 MB / 1.179 GB, free: 388 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.9942, allocations: 362.7 kB / 1.179 GB, free: 24 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006737/0.9949, allocations: 0.6544 MB / 1.18 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.9975, allocations: 2.244 MB / 1.182 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9975, allocations: 4 kB / 1.182 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9975, allocations: 0 / 1.182 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.9976, allocations: 0 / 1.182 GB, free: 13.11 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003681/1.001, allocations: 1.883 MB / 1.184 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.001, allocations: 12.03 kB / 1.184 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/1.018, allocations: 2.191 MB / 1.186 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/1.022, allocations: 1.444 MB / 1.187 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/1.022, allocations: 23.94 kB / 1.187 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/1.022, allocations: 16 kB / 1.187 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006007/1.028, allocations: 1.225 MB / 1.189 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/1.028, allocations: 0 / 1.189 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/1.028, allocations: 4 kB / 1.189 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/1.028, allocations: 4 kB / 1.189 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/1.039, allocations: 2.064 MB / 1.191 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/1.051, allocations: 3.685 MB / 1.194 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/1.062, allocations: 2.165 MB / 1.196 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005029/1.067, allocations: 1.051 MB / 1.197 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008288/1.067, allocations: 0.5181 MB / 1.198 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005362/1.073, allocations: 1.175 MB / 1.199 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 3.867e-06/1.073, allocations: 0 / 1.199 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0169/1.09, allocations: 3.317 MB / 1.202 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.09, allocations: 106.8 kB / 1.202 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006057/1.096, allocations: 2.484 MB / 1.205 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002598/1.096, allocations: 29.7 kB / 1.205 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000923/1.097, allocations: 0.5977 MB / 1.205 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/1.098, allocations: 63.02 kB / 1.206 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/1.098, allocations: 53.69 kB / 1.206 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.098, allocations: 322 kB / 1.206 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005573/1.103, allocations: 1.179 MB / 1.207 GB, free: 3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005732/1.109, allocations: 1.226 MB / 1.208 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.119, allocations: 2.048 MB / 1.21 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.119, allocations: 0 / 1.21 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01359/1.133, allocations: 2.932 MB / 1.213 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/1.133, allocations: 134.8 kB / 1.213 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.133, allocations: 0 / 1.213 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/1.137, allocations: 0.8108 MB / 1.214 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/1.141, allocations: 0.4916 MB / 1.215 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.153, allocations: 7.434 MB / 1.222 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/1.157, allocations: 463 kB / 1.222 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/1.157, allocations: 39.95 kB / 1.222 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.157, allocations: 4 kB / 1.222 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/1.169, allocations: 2.612 MB / 1.225 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.169, allocations: 3.938 kB / 1.225 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/1.172, allocations: 0.6314 MB / 1.225 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/1.175, allocations: 499.3 kB / 1.226 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/1.183, allocations: 6.177 MB / 1.232 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/1.187, allocations: 459.2 kB / 1.232 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/1.188, allocations: 31.97 kB / 1.232 GB, free: 7.848 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001679/1.189, allocations: 0.6747 MB / 1.233 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007199/1.19, allocations: 154.1 kB / 1.233 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/1.202, allocations: 2.342 MB / 1.235 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/1.202, allocations: 0 / 1.235 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.202, allocations: 4 kB / 1.235 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.202, allocations: 0 / 1.235 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/1.205, allocations: 1.255 MB / 1.237 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.205, allocations: 3.938 kB / 1.237 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00297/1.208, allocations: 451.5 kB / 1.237 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/1.208, allocations: 0 / 1.237 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/1.208, allocations: 19.97 kB / 1.237 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.208, allocations: 3.938 kB / 1.237 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.208, allocations: 0 / 1.237 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.219, allocations: 2.253 MB / 1.239 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/1.221, allocations: 427.1 kB / 1.24 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005694/1.221, allocations: 4 kB / 1.24 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/1.225, allocations: 407.4 kB / 1.24 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.225, allocations: 23.95 kB / 1.24 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/1.225, allocations: 23.98 kB / 1.24 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004186/1.229, allocations: 1.772 MB / 1.242 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.229, allocations: 0 / 1.242 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002809/1.232, allocations: 0.5468 MB / 1.242 GB, free: 13.36 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: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0007414/1.233, allocations: 240.2 kB / 1.243 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01959/1.252, allocations: 4.997 MB / 1.248 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.252, allocations: 0 / 1.248 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005429/1.258, allocations: 1.148 MB / 1.249 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.261, allocations: 361 kB / 1.249 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/1.284, allocations: 5.212 MB / 1.254 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5587/1.843, allocations: 1.412 MB / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009595/1.844, allocations: 99.03 kB / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.844, allocations: 0 / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05472/1.898, allocations: 39.64 MB / 1.294 GB, free: 207 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches