Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002094/0.002094, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001999/0.001999, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.603/1.603, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.093/3.093, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.8108 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.372e-05, allocations: 3.312 kB / 0.8108 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003709/0.003743, allocations: 1.768 MB / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.003957, allocations: 79.73 kB / 0.8126 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.004026, allocations: 5.219 kB / 0.8126 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.004066, allocations: 7.875 kB / 0.8127 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.009e-05/0.004156, allocations: 24.34 kB / 0.8127 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.004274, allocations: 33.38 kB / 0.8127 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.004436, allocations: 103.7 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.004594, allocations: 49.2 kB / 0.8129 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.004711, allocations: 55.89 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.004795, allocations: 40.75 kB / 0.8129 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.00483, allocations: 12 kB / 0.813 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.00485, allocations: 12.53 kB / 0.813 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.004887, allocations: 23.91 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.004944, allocations: 36.59 kB / 0.813 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.00513, allocations: 111.6 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005133, allocations: 0.9062 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005134, allocations: 0 / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.005139, allocations: 0.6562 kB / 0.8131 GB, free: 14.57 MB / 0.7292 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.0007461/0.005885, allocations: 448.7 kB / 0.8136 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.005928, allocations: 9.281 kB / 0.8136 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.005995, allocations: 28.78 kB / 0.8136 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.006234, allocations: 140.4 kB / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.006252, allocations: 10.03 kB / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.006271, allocations: 8.375 kB / 0.8137 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.006569, allocations: 102.2 kB / 0.8138 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006579, allocations: 4.125 kB / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.006594, allocations: 1.688 kB / 0.8139 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.006601, allocations: 4.375 kB / 0.8139 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.006921, allocations: 93.41 kB / 0.8139 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.007576, allocations: 384.1 kB / 0.8143 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.007892, allocations: 79.94 kB / 0.8144 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.008048, allocations: 44.38 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.00807, allocations: 4 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.008105, allocations: 38.05 kB / 0.8145 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.008106, allocations: 3.938 kB / 0.8145 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005846/0.00869, allocations: 151.6 kB / 0.8146 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.008738, allocations: 51.41 kB / 0.8147 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.00891, allocations: 196 kB / 0.8149 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.008938, allocations: 29.7 kB / 0.8149 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.009046, allocations: 150.8 kB / 0.815 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.009078, allocations: 20.73 kB / 0.815 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.009135, allocations: 23.38 kB / 0.8151 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004903/0.009625, allocations: 0.4967 MB / 0.8156 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.009763, allocations: 29.14 kB / 0.8156 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.009894, allocations: 35.97 kB / 0.8156 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.01016, allocations: 85.77 kB / 0.8157 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.01016, allocations: 0 / 0.8157 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003305/0.01049, allocations: 115.8 kB / 0.8158 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01051, allocations: 4 kB / 0.8158 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.01052, allocations: 3.984 kB / 0.8158 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.01054, allocations: 0 / 0.8158 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.01066, allocations: 20.48 kB / 0.8158 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01067, allocations: 3.438 kB / 0.8158 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.051e-05/0.01074, allocations: 4 kB / 0.8158 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.01076, allocations: 7.938 kB / 0.8158 GB, free: 11.61 MB / 0.7292 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.0001472/0.0109, allocations: 172.4 kB / 0.816 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.01094, allocations: 11.95 kB / 0.816 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.01098, allocations: 8.438 kB / 0.816 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01098, allocations: 4 kB / 0.816 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01098, allocations: 0 / 0.816 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01099, allocations: 0.5312 kB / 0.816 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.01122, allocations: 157 kB / 0.8162 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01122, allocations: 4 kB / 0.8162 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.01133, allocations: 16.55 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01133, allocations: 0.5625 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.01134, allocations: 5.406 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01134, allocations: 0 / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.01135, allocations: 4 kB / 0.8162 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.0118, allocations: 264.9 kB / 0.8165 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.01181, allocations: 4 kB / 0.8165 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.01183, allocations: 5.906 kB / 0.8165 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01193, allocations: 11.98 kB / 0.8165 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.012, allocations: 7.984 kB / 0.8165 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.01201, allocations: 4 kB / 0.8165 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001089/0.01212, allocations: 145.8 kB / 0.8166 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01212, allocations: 0.8125 kB / 0.8166 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002267/0.01234, allocations: 23.89 kB / 0.8167 GB, free: 10.71 MB / 0.7292 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.000168/0.01251, allocations: 100.2 kB / 0.8168 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.01287, allocations: 96.98 kB / 0.8169 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01287, allocations: 0.875 kB / 0.8169 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.01304, allocations: 53.16 kB / 0.8169 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.01334, allocations: 15.97 kB / 0.8169 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.01393, allocations: 209.8 kB / 0.8171 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.01403, allocations: 84.31 kB / 0.8172 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.01408, allocations: 0 / 0.8172 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.01412, allocations: 12.5 kB / 0.8172 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.01412, allocations: 0.9375 kB / 0.8172 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.004567/0.01869, allocations: 1.148 MB / 0.8183 GB, free: 8.984 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.425230138935149]