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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 489.2 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 63.91 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003169/1.112, allocations: 1.761 MB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001944/1.112, allocations: 87.98 kB / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/1.112, allocations: 1.625 kB / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.254e-05/1.112, allocations: 10.03 kB / 1.264 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/1.113, allocations: 18.53 kB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/1.113, allocations: 37.16 kB / 1.264 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/1.113, allocations: 111.1 kB / 1.265 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/1.113, allocations: 51.23 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/1.113, allocations: 40.44 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/1.113, allocations: 51.12 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/1.113, allocations: 11 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-05/1.113, allocations: 14.16 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/1.113, allocations: 23.53 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/1.113, allocations: 50.86 kB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/1.114, allocations: 112.2 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/1.114, allocations: 1.562 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/1.114, allocations: 0 / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.114, allocations: 0 / 1.265 GB, free: 6.453 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006849/1.114, allocations: 431.9 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.114, allocations: 9.594 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/1.114, allocations: 14.97 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/1.115, allocations: 199.3 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/1.115, allocations: 8.188 kB / 1.266 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/1.115, allocations: 5.875 kB / 1.266 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/1.115, allocations: 130.2 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.115, allocations: 0.875 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/1.115, allocations: 8.531 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.115, allocations: 2.156 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/1.116, allocations: 121.6 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/1.116, allocations: 379.3 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/1.117, allocations: 88.94 kB / 1.266 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/1.117, allocations: 70.02 kB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/1.117, allocations: 0.75 kB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/1.117, allocations: 32.91 kB / 1.266 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/1.117, allocations: 0 / 1.266 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0008414/1.118, allocations: 197.9 kB / 1.267 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/1.118, allocations: 52.19 kB / 1.267 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/1.118, allocations: 123 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/1.118, allocations: 26.55 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/1.118, allocations: 108.9 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/1.118, allocations: 20.23 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/1.118, allocations: 22.62 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/1.118, allocations: 319.5 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/1.118, allocations: 50.28 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/1.119, allocations: 51.39 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/1.119, allocations: 107.3 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.119, allocations: 4.75 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005143/1.12, allocations: 147.8 kB / 1.268 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.12, allocations: 6.172 kB / 1.268 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/1.12, allocations: 0 / 1.268 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.12, allocations: 4.938 kB / 1.268 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/1.12, allocations: 29.44 kB / 1.268 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.12, allocations: 5.406 kB / 1.268 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/1.12, allocations: 25.47 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/1.12, allocations: 0.9688 kB / 1.268 GB, free: 4.449 MB / 0.9981 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 6.947e-05/1.12, allocations: 115.3 kB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/1.12, allocations: 7.609 kB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/1.12, allocations: 14.88 kB / 1.268 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.12, allocations: 5.578 kB / 1.268 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.12, allocations: 0 / 1.268 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.12, allocations: 0.7812 kB / 1.268 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/1.12, allocations: 200.6 kB / 1.268 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.12, allocations: 4.938 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/1.121, allocations: 25.72 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/1.121, allocations: 0 / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/1.121, allocations: 0.8125 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.121, allocations: 5.391 kB / 1.268 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.121, allocations: 3.938 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/1.121, allocations: 244.4 kB / 1.268 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/1.121, allocations: 88.09 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/1.121, allocations: 0.7812 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.121, allocations: 24.92 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/1.121, allocations: 6.406 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/1.121, allocations: 5.031 kB / 1.268 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.616e-05/1.122, allocations: 101.3 kB / 1.268 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.122, allocations: 0.875 kB / 1.268 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002345/1.122, allocations: 17.72 kB / 1.268 GB, free: 3.727 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 (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.0001365/1.122, allocations: 99.44 kB / 1.269 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005452/1.123, allocations: 116 kB / 1.269 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.123, allocations: 0.75 kB / 1.269 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/1.123, allocations: 61.33 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/1.123, allocations: 15.59 kB / 1.269 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/1.124, allocations: 236.1 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/1.124, allocations: 0.701 MB / 1.27 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/1.124, allocations: 11.56 kB / 1.27 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.124, allocations: 0 / 1.27 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.003794/1.128, allocations: 1.208 MB / 1.271 GB, free: 2.602 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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.655864389846101]