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.002049/0.002049, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001576/0.001576, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.453/1.453, allocations: 225.6 MB / 249.4 MB, free: 3.312 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.585/2.585, allocations: 443.4 MB / 0.7304 GB, free: 14.07 MB / 0.5762 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.001961/0.001961, allocations: 71.88 kB / 1.059 GB, free: 452 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2818, allocations: 160.7 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003218/0.2851, allocations: 2.035 MB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2862, allocations: 0.6936 MB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.2863, allocations: 4 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.2865, allocations: 39.59 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2866, allocations: 43.59 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.287, allocations: 151.8 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.2875, allocations: 403.3 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.2878, allocations: 207.8 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.2879, allocations: 143.5 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.2881, allocations: 143.4 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.2882, allocations: 40 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-05/0.2883, allocations: 55.86 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.2884, allocations: 75.83 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2885, allocations: 159.2 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.289, allocations: 434.3 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.289, allocations: 0 / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.253e-06/0.289, allocations: 0 / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.289, allocations: 0 / 1.221 GB, free: 10.79 MB / 0.9669 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.0009516/0.2899, allocations: 0.6142 MB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.29, allocations: 8.031 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.29, allocations: 32.75 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.2904, allocations: 275.8 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.2904, allocations: 29.03 kB / 1.222 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.2905, allocations: 32.38 kB / 1.222 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.2912, allocations: 345.1 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2912, allocations: 0 / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.2912, allocations: 12 kB / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.2912, allocations: 8 kB / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.2918, allocations: 242.1 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.2933, allocations: 0.9554 MB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/0.2939, allocations: 254.8 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.2942, allocations: 113.2 kB / 1.223 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.2942, allocations: 4 kB / 1.223 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.2946, allocations: 187.2 kB / 1.224 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.2946, allocations: 0 / 1.224 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32): time 0.0008429/0.2954, allocations: 342.7 kB / 1.224 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2955, allocations: 63.41 kB / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2957, allocations: 203.4 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.2957, allocations: 45.64 kB / 1.224 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2958, allocations: 152.8 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.2959, allocations: 87.3 kB / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.296, allocations: 94.06 kB / 1.225 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2962, allocations: 334.8 kB / 1.225 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.2965, allocations: 112.8 kB / 1.225 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.2968, allocations: 169.5 kB / 1.225 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.2973, allocations: 266.4 kB / 1.225 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2973, allocations: 0 / 1.225 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007037/0.298, allocations: 363 kB / 1.226 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.298, allocations: 33.7 kB / 1.226 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.298, allocations: 0 / 1.226 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.298, allocations: 4.156 kB / 1.226 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.2982, allocations: 51.91 kB / 1.226 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2982, allocations: 7.938 kB / 1.226 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.2985, allocations: 55.73 kB / 1.226 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.2985, allocations: 12 kB / 1.226 GB, free: 5.059 MB / 0.9669 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.0001864/0.2987, allocations: 185.6 kB / 1.226 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.2988, allocations: 19.86 kB / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/0.2994, allocations: 291.2 kB / 1.226 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2994, allocations: 4 kB / 1.226 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2994, allocations: 0 / 1.226 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2994, allocations: 7.922 kB / 1.226 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3006, allocations: 0.7459 MB / 1.227 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3006, allocations: 0 / 1.227 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3007, allocations: 31.97 kB / 1.227 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3007, allocations: 0 / 1.227 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3008, allocations: 8 kB / 1.227 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3008, allocations: 3.938 kB / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3008, allocations: 0 / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.3014, allocations: 384.5 kB / 1.228 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.3015, allocations: 100.9 kB / 1.228 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.3015, allocations: 11.98 kB / 1.228 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3017, allocations: 31.91 kB / 1.228 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3018, allocations: 43.95 kB / 1.228 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.3019, allocations: 11.98 kB / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001103/0.302, allocations: 131.2 kB / 1.228 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.302, allocations: 0 / 1.228 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003204/0.3023, allocations: 67.89 kB / 1.228 GB, free: 2.906 MB / 0.9669 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.0001619/0.3025, allocations: 121.4 kB / 1.228 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006572/0.3031, allocations: 320.2 kB / 1.228 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3031, allocations: 0 / 1.228 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.3034, allocations: 127.8 kB / 1.228 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3037, allocations: 44.2 kB / 1.228 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/0.3046, allocations: 476.6 kB / 1.229 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.305, allocations: 0.7603 MB / 1.23 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.3051, allocations: 26.28 kB / 1.23 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/0.3051, allocations: 27.44 kB / 1.23 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.3051, allocations: 4 kB / 1.23 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of Templates: time 0.007189/0.3123, allocations: 3.229 MB / 1.233 GB, free: 13.73 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.925754762254655]