Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.001805/0.001805, allocations: 78.33 kB / 19.76 MB, free: 2.031 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.002222/0.002222, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.784/2.784, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [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.002242/0.002242, allocations: 75.81 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2962, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003563/0.2997, allocations: 2.002 MB / 1.119 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3013, allocations: 0.678 MB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.3014, allocations: 11.88 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.3016, allocations: 35.59 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.3017, allocations: 43.59 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.3022, allocations: 171.7 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.3028, allocations: 411.1 kB / 1.121 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.3031, allocations: 200.7 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3033, allocations: 139.6 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.3035, allocations: 127.4 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.3036, allocations: 43.94 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.3037, allocations: 44 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.971e-05/0.3038, allocations: 87.8 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.304, allocations: 115.5 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.3045, allocations: 438.3 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3045, allocations: 3.938 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3045, allocations: 4 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.3045, allocations: 0 / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001083/0.3056, allocations: 0.5352 MB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3056, allocations: 8.031 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.3059, allocations: 44.69 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.3063, allocations: 210.1 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.3063, allocations: 32.97 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.3064, allocations: 36.38 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/0.3071, allocations: 329.4 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.3071, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.3071, allocations: 19.94 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3071, allocations: 8 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.3078, allocations: 242.5 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.3092, allocations: 0.7735 MB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.3099, allocations: 242.9 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.3102, allocations: 105.6 kB / 1.124 GB, free: 11.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3102, allocations: 7.938 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.3106, allocations: 179.3 kB / 1.125 GB, free: 11.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.3106, allocations: 0 / 1.125 GB, free: 11.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=32): time 0.0009024/0.3115, allocations: 349.9 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.3115, allocations: 67.38 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3117, allocations: 179.2 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.3118, allocations: 49.69 kB / 1.125 GB, free: 10.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3119, allocations: 160.6 kB / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.312, allocations: 79.38 kB / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.3121, allocations: 94.17 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3123, allocations: 330.8 kB / 1.126 GB, free: 9.773 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.3127, allocations: 138.6 kB / 1.126 GB, free: 9.629 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.313, allocations: 191.8 kB / 1.126 GB, free: 9.422 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.3135, allocations: 266.6 kB / 1.126 GB, free: 9.137 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3135, allocations: 0 / 1.126 GB, free: 9.137 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007962/0.3143, allocations: 392.5 kB / 1.127 GB, free: 8.734 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.3144, allocations: 33.7 kB / 1.127 GB, free: 8.695 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3144, allocations: 4 kB / 1.127 GB, free: 8.691 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3144, allocations: 8.141 kB / 1.127 GB, free: 8.684 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.3146, allocations: 47.84 kB / 1.127 GB, free: 8.637 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3146, allocations: 0 / 1.127 GB, free: 8.637 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.3149, allocations: 59.7 kB / 1.127 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.3149, allocations: 12 kB / 1.127 GB, free: 8.566 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0002159/0.3152, allocations: 177.7 kB / 1.127 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3152, allocations: 19.91 kB / 1.127 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.3153, allocations: 30.64 kB / 1.127 GB, free: 8.332 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3153, allocations: 7.938 kB / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3153, allocations: 0 / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3153, allocations: 0 / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3165, allocations: 0.6159 MB / 1.128 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3165, allocations: 0 / 1.128 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3166, allocations: 43.91 kB / 1.128 GB, free: 7.629 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3166, allocations: 0 / 1.128 GB, free: 7.629 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.3166, allocations: 8 kB / 1.128 GB, free: 7.621 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3166, allocations: 0 / 1.128 GB, free: 7.621 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3166, allocations: 0 / 1.128 GB, free: 7.621 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.3173, allocations: 365.5 kB / 1.128 GB, free: 7.246 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.3173, allocations: 19.84 kB / 1.128 GB, free: 7.227 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.3173, allocations: 11.94 kB / 1.128 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.3176, allocations: 35.95 kB / 1.128 GB, free: 7.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3177, allocations: 43.88 kB / 1.128 GB, free: 7.137 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3177, allocations: 7.984 kB / 1.128 GB, free: 7.129 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001019/0.3178, allocations: 124.9 kB / 1.128 GB, free: 7.008 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3178, allocations: 0 / 1.128 GB, free: 7.008 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003425/0.3181, allocations: 75.78 kB / 1.128 GB, free: 6.934 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00017/0.3183, allocations: 117.5 kB / 1.129 GB, free: 6.809 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007076/0.319, allocations: 344.8 kB / 1.129 GB, free: 6.453 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.319, allocations: 0 / 1.129 GB, free: 6.453 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.3193, allocations: 115.9 kB / 1.129 GB, free: 6.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3197, allocations: 40.22 kB / 1.129 GB, free: 6.301 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.3206, allocations: 460.5 kB / 1.129 GB, free: 5.828 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.3207, allocations: 150.8 kB / 1.13 GB, free: 5.656 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000101/0.3208, allocations: 22.28 kB / 1.13 GB, free: 5.633 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.3209, allocations: 28.48 kB / 1.13 GB, free: 5.605 MB / 1.076 GB Notification: Performance of SimCode: time 4.4e-07/0.3209, allocations: 4 kB / 1.13 GB, free: 5.602 MB / 1.076 GB Notification: Performance of Templates: time 0.007209/0.3281, allocations: 2.921 MB / 1.132 GB, free: 2.723 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.389886607066728]