Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008752/0.0008752, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008233/0.0008233, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8926/0.8926, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.616/1.616, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.793e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002478/0.002506, allocations: 1.743 MB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.002658, allocations: 83.69 kB / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.002714, allocations: 4 kB / 0.9535 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.002756, allocations: 11.86 kB / 0.9536 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.002816, allocations: 19.73 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.002917, allocations: 31.95 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003037, allocations: 107.6 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.003186, allocations: 45.2 kB / 0.9537 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.00326, allocations: 59.89 kB / 0.9538 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.003314, allocations: 43.88 kB / 0.9538 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.003344, allocations: 12 kB / 0.9539 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.003354, allocations: 8 kB / 0.9539 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.003377, allocations: 23.92 kB / 0.9539 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.003413, allocations: 31.91 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.003555, allocations: 119.6 kB / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.003557, allocations: 0 / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003559, allocations: 0 / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.003564, allocations: 0 / 0.954 GB, free: 0.5977 MB / 0.9011 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.0004645/0.004029, allocations: 361.8 kB / 0.9544 GB, free: 216 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.004065, allocations: 8.031 kB / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.004099, allocations: 12.89 kB / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.004249, allocations: 145.5 kB / 0.9545 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.00426, allocations: 384 / 0.9545 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.004275, allocations: 12.38 kB / 0.9545 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.00451, allocations: 128.1 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.004519, allocations: 4.125 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.00453, allocations: 384 / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004535, allocations: 4.375 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.004758, allocations: 123.8 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.00509, allocations: 304.1 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.0053, allocations: 86.52 kB / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.00541, allocations: 52.94 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.005424, allocations: 11.98 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.005441, allocations: 34.5 kB / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.005442, allocations: 0 / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0003997/0.005842, allocations: 185.7 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.005872, allocations: 55.41 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/0.005945, allocations: 124.9 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.005957, allocations: 29.7 kB / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.006008, allocations: 116.1 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.006029, allocations: 11.86 kB / 0.9558 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.006058, allocations: 17.72 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.006137, allocations: 330.7 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.006238, allocations: 47.95 kB / 0.9561 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.006335, allocations: 56 kB / 0.9562 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.006537, allocations: 108.7 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006539, allocations: 0 / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002328/0.006772, allocations: 145.5 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.006784, allocations: 4 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.006789, allocations: 0 / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006802, allocations: 3.938 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.006881, allocations: 35.97 kB / 0.9565 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006886, allocations: 0 / 0.9565 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.006936, allocations: 19.97 kB / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.006943, allocations: 3.938 kB / 0.9565 GB, free: 13.89 MB / 0.9167 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.243e-05/0.007005, allocations: 121.7 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.007019, allocations: 7.953 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.00704, allocations: 12.44 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007042, allocations: 4 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.007046, allocations: 0 / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007048, allocations: 4 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.007149, allocations: 133.2 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.00715, allocations: 0 / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.007208, allocations: 23.97 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.007209, allocations: 7.984 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.007217, allocations: 0 / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.007217, allocations: 0 / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.007219, allocations: 4.172 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.00748, allocations: 251.3 kB / 0.957 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.007489, allocations: 7.938 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.007501, allocations: 4 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.007564, allocations: 11.98 kB / 0.9571 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.00761, allocations: 11.98 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.007613, allocations: 0 / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.007655, allocations: 103.2 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007655, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001463/0.007801, allocations: 27.89 kB / 0.9572 GB, free: 13.12 MB / 0.9167 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 7.729e-05/0.007878, allocations: 97.75 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.008127, allocations: 111.8 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008128, allocations: 0 / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.008236, allocations: 59.88 kB / 0.9575 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.008461, allocations: 19.92 kB / 0.9575 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.008813, allocations: 218.9 kB / 0.9577 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.403e-05/0.008867, allocations: 84.31 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.008904, allocations: 12.5 kB / 0.9578 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.008905, allocations: 0 / 0.9578 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.002125/0.01103, allocations: 1.259 MB / 0.959 GB, free: 11.21 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.521947905421257]