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.001538/0.001538, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001917/0.001917, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.653/1.653, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.321/3.321, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.542e-05/3.747e-05, allocations: 10.81 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00389/0.003928, allocations: 1.749 MB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002634/0.004191, allocations: 85.8 kB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.00427, allocations: 4 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.004321, allocations: 11.86 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.004411, allocations: 16.7 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.004551, allocations: 31.95 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.004749, allocations: 112.3 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.004945, allocations: 45.86 kB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.00508, allocations: 51.89 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.005162, allocations: 41.48 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.005198, allocations: 12 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.083e-05/0.005219, allocations: 12 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.005254, allocations: 19.91 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.005319, allocations: 33.36 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.005546, allocations: 123.6 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.005549, allocations: 0 / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.00555, allocations: 0 / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.005555, allocations: 3.125 kB / 0.8799 GB, free: 4.129 MB / 0.8386 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.0008694/0.006424, allocations: 353.8 kB / 0.8803 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.006472, allocations: 12.03 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.006547, allocations: 20.83 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.006819, allocations: 141.5 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.00684, allocations: 8.969 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.006863, allocations: 8.375 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.007299, allocations: 124.5 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.007311, allocations: 192 / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.007332, allocations: 9.719 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.007339, allocations: 384 / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007968/0.008135, allocations: 127.8 kB / 0.8807 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.008729, allocations: 296.2 kB / 0.881 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.009126, allocations: 90.5 kB / 0.8811 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.009375, allocations: 60.92 kB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.009394, allocations: 0 / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.009432, allocations: 34.56 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.009433, allocations: 0 / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0008332/0.01027, allocations: 201.6 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.01032, allocations: 51.41 kB / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.01046, allocations: 121.8 kB / 0.8815 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.01049, allocations: 29.7 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01059, allocations: 112 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.01064, allocations: 23.84 kB / 0.8817 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.01071, allocations: 21.72 kB / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.0109, allocations: 318.8 kB / 0.882 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.01113, allocations: 47.94 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.01134, allocations: 51.94 kB / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.01177, allocations: 108.8 kB / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01177, allocations: 0 / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005129/0.01229, allocations: 153.9 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.0123, allocations: 4 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01231, allocations: 0 / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.01233, allocations: 0 / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.0125, allocations: 27.97 kB / 0.8824 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01251, allocations: 4 kB / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.01263, allocations: 15.97 kB / 0.8824 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01264, allocations: 7.938 kB / 0.8824 GB, free: 1.422 MB / 0.8386 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.0001193/0.01276, allocations: 121.8 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.01281, allocations: 19.88 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.01284, allocations: 8.438 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01285, allocations: 4 kB / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01285, allocations: 0 / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01286, allocations: 0 / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01307, allocations: 133.2 kB / 0.8827 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01308, allocations: 0 / 0.8827 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.01323, allocations: 27.91 kB / 0.8827 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01324, allocations: 8 kB / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.01325, allocations: 0 / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01325, allocations: 0 / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01325, allocations: 0 / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.01384, allocations: 243.3 kB / 0.8829 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.01386, allocations: 7.953 kB / 0.8829 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.01388, allocations: 4 kB / 0.8829 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.01403, allocations: 19.97 kB / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.0141, allocations: 7.984 kB / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.0141, allocations: 0 / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.818e-05/0.01419, allocations: 102.4 kB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01419, allocations: 0 / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002613/0.01445, allocations: 23.89 kB / 0.8831 GB, free: 0.6484 MB / 0.8386 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.0001553/0.01461, allocations: 99.19 kB / 0.8832 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.01512, allocations: 115.8 kB / 0.8833 GB, free: 440 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01512, allocations: 0 / 0.8833 GB, free: 440 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.01537, allocations: 64.06 kB / 0.8834 GB, free: 376 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.01575, allocations: 17.67 kB / 0.8834 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.01632, allocations: 204.5 kB / 0.8836 GB, free: 128 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.01644, allocations: 84.31 kB / 0.8836 GB, free: 24 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.858e-05/0.01649, allocations: 4 kB / 0.8836 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.01654, allocations: 16.5 kB / 0.8837 GB, free: 4 kB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.01654, allocations: 0 / 0.8837 GB, free: 4 kB / 0.8386 GB Notification: Performance of Templates: time 0.004542/0.02108, allocations: 1.159 MB / 0.8848 GB, free: 14.88 MB / 0.8542 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/jenkins/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: 8.787135376012884]