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.001698/0.001698, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002337/0.002337, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.572/1.572, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.3/3.3, allocations: 0.4899 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002113/0.002113, allocations: 68.3 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4189, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00334/0.4222, allocations: 1.772 MB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001953/0.4224, allocations: 79.73 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.4225, allocations: 4 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.4225, allocations: 11.86 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/0.4226, allocations: 19.8 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.4227, allocations: 27.95 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.4229, allocations: 111.7 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.4231, allocations: 41.05 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.4232, allocations: 43.78 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.4232, allocations: 51.77 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.4233, allocations: 12 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.4233, allocations: 16 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.4233, allocations: 23.91 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.4234, allocations: 47.73 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4236, allocations: 115.5 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4236, allocations: 0 / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4236, allocations: 0 / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4236, allocations: 0 / 1.324 GB, free: 420 kB / 1.014 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.0008131/0.4244, allocations: 434.9 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4245, allocations: 11.98 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.4245, allocations: 12.89 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.4248, allocations: 204.1 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4248, allocations: 8.328 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.4248, allocations: 12.38 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.4252, allocations: 132 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4252, allocations: 192 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4252, allocations: 3.938 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4252, allocations: 4 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.4257, allocations: 119.9 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.4263, allocations: 376.5 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.4266, allocations: 86.52 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.4269, allocations: 60.92 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.4269, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4269, allocations: 30.56 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.4269, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0008026/0.4277, allocations: 201.5 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.4278, allocations: 55.41 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.4279, allocations: 136.8 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4279, allocations: 25.7 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.428, allocations: 108 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.428, allocations: 19.86 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.4281, allocations: 17.72 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4282, allocations: 322.8 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.4285, allocations: 51.94 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.4287, allocations: 43.95 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.4291, allocations: 105.1 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4291, allocations: 8 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005127/0.4296, allocations: 153.5 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4296, allocations: 4 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4296, allocations: 3.938 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4297, allocations: 3.938 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.4298, allocations: 27.97 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.4298, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.4299, allocations: 19.97 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.43, allocations: 4 kB / 1.326 GB, free: 13.44 MB / 1.029 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.0001021/0.4301, allocations: 117.8 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.4301, allocations: 7.953 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.4301, allocations: 8.375 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4301, allocations: 3.938 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4301, allocations: 3.984 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4301, allocations: 0 / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.4304, allocations: 205.5 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4304, allocations: 4 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.4305, allocations: 27.91 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4305, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4306, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.4306, allocations: 7.938 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4306, allocations: 3.984 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.4311, allocations: 239.4 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.4312, allocations: 85.06 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4312, allocations: 7.984 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.4313, allocations: 15.92 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.4314, allocations: 11.98 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4314, allocations: 8.062 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.4315, allocations: 95.27 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4315, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002451/0.4317, allocations: 19.95 kB / 1.327 GB, free: 12.48 MB / 1.029 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.0001575/0.4319, allocations: 111.1 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000541/0.4324, allocations: 111.9 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4324, allocations: 4 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4327, allocations: 51.94 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.433, allocations: 15.94 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.4336, allocations: 213.1 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.4339, allocations: 0.6963 MB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.434, allocations: 4 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.434, allocations: 11.44 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.434, allocations: 3.938 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of Templates: time 0.003971/0.438, allocations: 1.092 MB / 1.329 GB, free: 10.13 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] 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: 9.548813267145306]