Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 112.4 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437.1 MB / 0.7177 GB, free: 4.617 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 1.028 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 151.6 MB / 1.176 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003377/0.3138, allocations: 2.004 MB / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3151, allocations: 0.6935 MB / 1.178 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3153, allocations: 4 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.3155, allocations: 31.61 kB / 1.179 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3156, allocations: 43.58 kB / 1.179 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.3161, allocations: 163.8 kB / 1.179 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.3165, allocations: 407.2 kB / 1.179 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.3169, allocations: 243.8 kB / 1.179 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.3171, allocations: 139.5 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.3173, allocations: 147.3 kB / 1.18 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.3174, allocations: 40 kB / 1.18 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.3175, allocations: 47.98 kB / 1.18 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.3176, allocations: 83.81 kB / 1.18 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.3177, allocations: 151.2 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.3182, allocations: 434.4 kB / 1.18 GB, free: 1.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3183, allocations: 0 / 1.18 GB, free: 1.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3183, allocations: 11.88 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3183, allocations: 0 / 1.18 GB, free: 1.441 MB / 0.92 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.001031/0.3193, allocations: 0.6064 MB / 1.181 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3194, allocations: 15.98 kB / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.778e-05/0.3194, allocations: 36.75 kB / 1.181 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.3198, allocations: 269.2 kB / 1.181 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.3199, allocations: 29.02 kB / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.32, allocations: 36.31 kB / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.3206, allocations: 333.2 kB / 1.182 GB, free: 32 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3206, allocations: 0 / 1.182 GB, free: 32 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.3207, allocations: 15.98 kB / 1.182 GB, free: 16 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3207, allocations: 12 kB / 1.182 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.3213, allocations: 246.1 kB / 1.182 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.3228, allocations: 0.9632 MB / 1.183 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.3234, allocations: 266.9 kB / 1.183 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.3237, allocations: 129.2 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3238, allocations: 0 / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.3241, allocations: 183.1 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.3242, allocations: 4 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.0008469/0.325, allocations: 354.7 kB / 1.184 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3251, allocations: 59.39 kB / 1.184 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3253, allocations: 203.4 kB / 1.184 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.3253, allocations: 41.7 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3255, allocations: 156.8 kB / 1.184 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.3256, allocations: 91.3 kB / 1.184 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3257, allocations: 90.06 kB / 1.184 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3259, allocations: 342.8 kB / 1.185 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3261, allocations: 104.8 kB / 1.185 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.3264, allocations: 165.4 kB / 1.185 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.327, allocations: 254.5 kB / 1.185 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.327, allocations: 4 kB / 1.185 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000708/0.3277, allocations: 370.9 kB / 1.186 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.3277, allocations: 33.7 kB / 1.186 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3278, allocations: 4 kB / 1.186 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3278, allocations: 4 kB / 1.186 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.328, allocations: 43.84 kB / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.328, allocations: 0 / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.3283, allocations: 59.91 kB / 1.186 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.3283, allocations: 15.98 kB / 1.186 GB, free: 11.68 MB / 0.9356 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.0001953/0.3285, allocations: 173.7 kB / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.3286, allocations: 23.84 kB / 1.186 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.3292, allocations: 299.2 kB / 1.186 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3292, allocations: 4 kB / 1.186 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3293, allocations: 0 / 1.186 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3293, allocations: 0 / 1.186 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3304, allocations: 0.7459 MB / 1.187 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3304, allocations: 4 kB / 1.187 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3306, allocations: 31.97 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3306, allocations: 4 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.3306, allocations: 4 kB / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.3306, allocations: 11.88 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3306, allocations: 3.938 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.3313, allocations: 380.5 kB / 1.187 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.3313, allocations: 100.9 kB / 1.187 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.3314, allocations: 8 kB / 1.187 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.3316, allocations: 35.89 kB / 1.187 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3317, allocations: 35.95 kB / 1.187 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.3318, allocations: 12 kB / 1.187 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001204/0.3319, allocations: 139.2 kB / 1.188 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3319, allocations: 0 / 1.188 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003288/0.3322, allocations: 63.89 kB / 1.188 GB, free: 9.523 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$cse1,$cse2,$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 (34): * Single equations (assignments): 28 * 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.0001857/0.3324, allocations: 121.4 kB / 1.188 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006808/0.3331, allocations: 340.6 kB / 1.188 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3331, allocations: 4.062 kB / 1.188 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3334, allocations: 139.8 kB / 1.188 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3338, allocations: 31.92 kB / 1.188 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.3347, allocations: 482.1 kB / 1.189 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.3351, allocations: 0.7603 MB / 1.189 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.3352, allocations: 23.44 kB / 1.19 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3352, allocations: 4 kB / 1.19 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of Templates: time 0.007218/0.3425, allocations: 3.52 MB / 1.193 GB, free: 4.047 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.763151274994016]