Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 215.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.406/3.406, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 70.09 kB / 1.187 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4029, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003271/0.4062, allocations: 1.741 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.4064, allocations: 79.75 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.4064, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.64e-05/0.4065, allocations: 11.86 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.4065, allocations: 15.8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.4066, allocations: 31.97 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4068, allocations: 107.7 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.4069, allocations: 37.23 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.407, allocations: 47.83 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.4071, allocations: 47.77 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.4071, allocations: 12 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.4071, allocations: 8 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.4072, allocations: 27.86 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.4072, allocations: 35.8 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.4074, allocations: 111.6 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4074, allocations: 4 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4074, allocations: 4 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4074, allocations: 0 / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007013/0.4081, allocations: 349.9 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4082, allocations: 8.031 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.4082, allocations: 16.84 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.4084, allocations: 148 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4084, allocations: 4.375 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.4085, allocations: 16.36 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.4089, allocations: 123.5 kB / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4089, allocations: 4.125 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4089, allocations: 3.938 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4089, allocations: 4 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.4094, allocations: 123.9 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.4099, allocations: 300.1 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.4102, allocations: 94.5 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.4104, allocations: 64.94 kB / 1.368 GB, free: 9.902 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.4105, allocations: 0 / 1.368 GB, free: 9.902 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.4105, allocations: 34.55 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4105, allocations: 0 / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0007467/0.4112, allocations: 197.6 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.4113, allocations: 59.34 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4114, allocations: 120.1 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4114, allocations: 29.7 kB / 1.369 GB, free: 9.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.4115, allocations: 112 kB / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.4115, allocations: 15.84 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.4116, allocations: 17.72 kB / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4117, allocations: 322.8 kB / 1.369 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.412, allocations: 51.95 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.4122, allocations: 47.94 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.4126, allocations: 108.8 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4126, allocations: 0 / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004755/0.4131, allocations: 149.5 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4131, allocations: 4 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4131, allocations: 4 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4131, allocations: 0 / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4133, allocations: 27.97 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4133, allocations: 3.938 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.4134, allocations: 27.86 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4134, allocations: 0 / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001003/0.4135, allocations: 113.8 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.4135, allocations: 12 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.4135, allocations: 8.375 kB / 1.37 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4136, allocations: 4 kB / 1.37 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4136, allocations: 3.938 kB / 1.37 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4136, allocations: 0 / 1.37 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.4137, allocations: 137.6 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4137, allocations: 0 / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.4139, allocations: 39.89 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4139, allocations: 0 / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4139, allocations: 0 / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4139, allocations: 4 kB / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4139, allocations: 0 / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.4144, allocations: 239.3 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.4145, allocations: 7.938 kB / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4145, allocations: 4 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4146, allocations: 19.98 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4147, allocations: 11.92 kB / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.4147, allocations: 0 / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.365e-05/0.4147, allocations: 103.2 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4147, allocations: 0 / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002378/0.415, allocations: 19.94 kB / 1.37 GB, free: 7.758 MB / 1.061 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 (6): * Single equations (assignments): 6 * 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.0001225/0.4151, allocations: 95.19 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004852/0.4156, allocations: 111.9 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4156, allocations: 0 / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.4158, allocations: 59.88 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.4162, allocations: 23.92 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.4167, allocations: 217.3 kB / 1.371 GB, free: 7.223 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.421e-05/0.4168, allocations: 92.11 kB / 1.371 GB, free: 7.113 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.4168, allocations: 15.44 kB / 1.371 GB, free: 7.098 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4168, allocations: 0 / 1.371 GB, free: 7.098 MB / 1.061 GB Notification: Performance of Templates: time 0.003159/0.42, allocations: 1.247 MB / 1.372 GB, free: 5.863 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.737786805722862]