Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001344/0.001344, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001459/0.001459, allocations: 189.9 kB / 22.11 MB, free: 5.148 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.466/1.466, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.221/3.221, allocations: 495.8 MB / 0.783 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 69.02 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 173.6 MB / 1.307 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003579/0.3775, allocations: 2.045 MB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3788, allocations: 0.6936 MB / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.379, allocations: 7.938 kB / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.3791, allocations: 35.61 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.3792, allocations: 43.59 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.3797, allocations: 163.8 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.3802, allocations: 415.1 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.3806, allocations: 208.6 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3807, allocations: 147.5 kB / 1.31 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.381, allocations: 147.4 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.381, allocations: 40 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3811, allocations: 44 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.3812, allocations: 87.8 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3814, allocations: 155.2 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.3819, allocations: 434.4 kB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3819, allocations: 0 / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3819, allocations: 0 / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3819, allocations: 0 / 1.311 GB, free: 13.26 MB / 1.014 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.001013/0.3829, allocations: 0.5351 MB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3829, allocations: 8.031 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.383, allocations: 32.75 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3834, allocations: 214 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.3835, allocations: 29.03 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.3835, allocations: 36.34 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.3842, allocations: 341.4 kB / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3843, allocations: 3.938 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.3843, allocations: 12 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3843, allocations: 4 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.3849, allocations: 250.5 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.3865, allocations: 0.9094 MB / 1.314 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.3872, allocations: 242.9 kB / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.3875, allocations: 116.8 kB / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3875, allocations: 7.984 kB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.3879, allocations: 184.5 kB / 1.314 GB, free: 10.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.3879, allocations: 0 / 1.314 GB, free: 10.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.0009391/0.3888, allocations: 357.3 kB / 1.314 GB, free: 9.867 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.3889, allocations: 63.38 kB / 1.314 GB, free: 9.793 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3891, allocations: 212.6 kB / 1.315 GB, free: 9.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.3892, allocations: 37.7 kB / 1.315 GB, free: 9.527 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3893, allocations: 156.8 kB / 1.315 GB, free: 9.367 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.644e-05/0.3894, allocations: 87.36 kB / 1.315 GB, free: 9.281 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.3895, allocations: 86.08 kB / 1.315 GB, free: 9.191 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3897, allocations: 338.8 kB / 1.315 GB, free: 8.852 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.39, allocations: 108.8 kB / 1.315 GB, free: 8.746 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.3903, allocations: 165.5 kB / 1.316 GB, free: 8.562 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.3909, allocations: 263.3 kB / 1.316 GB, free: 8.281 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3909, allocations: 7.938 kB / 1.316 GB, free: 8.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007786/0.3916, allocations: 366.7 kB / 1.316 GB, free: 7.902 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.3917, allocations: 33.69 kB / 1.316 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3917, allocations: 4 kB / 1.316 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3917, allocations: 8.156 kB / 1.316 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3919, allocations: 43.91 kB / 1.316 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.3919, allocations: 4 kB / 1.316 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.3922, allocations: 47.75 kB / 1.316 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.3923, allocations: 19.98 kB / 1.316 GB, free: 7.738 MB / 1.014 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.0002171/0.3925, allocations: 185.6 kB / 1.317 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.3925, allocations: 19.86 kB / 1.317 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007117/0.3932, allocations: 299.2 kB / 1.317 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3932, allocations: 4 kB / 1.317 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3933, allocations: 0 / 1.317 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3933, allocations: 0 / 1.317 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.3945, allocations: 0.7215 MB / 1.318 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3945, allocations: 0 / 1.318 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3947, allocations: 27.92 kB / 1.318 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3947, allocations: 0 / 1.318 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.3947, allocations: 11.98 kB / 1.318 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3947, allocations: 7.938 kB / 1.318 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3947, allocations: 0 / 1.318 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.3954, allocations: 384.3 kB / 1.318 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.3954, allocations: 35.72 kB / 1.318 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3955, allocations: 4 kB / 1.318 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.3957, allocations: 35.91 kB / 1.318 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.3959, allocations: 39.94 kB / 1.318 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.3959, allocations: 15.98 kB / 1.318 GB, free: 5.891 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00013/0.396, allocations: 127.2 kB / 1.318 GB, free: 5.766 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.396, allocations: 0 / 1.318 GB, free: 5.766 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003609/0.3964, allocations: 67.83 kB / 1.318 GB, free: 5.699 MB / 1.014 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.0002131/0.3966, allocations: 129.2 kB / 1.318 GB, free: 5.559 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007247/0.3973, allocations: 320.2 kB / 1.319 GB, free: 5.234 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3973, allocations: 0 / 1.319 GB, free: 5.234 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.3976, allocations: 123.9 kB / 1.319 GB, free: 5.113 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.398, allocations: 38.56 kB / 1.319 GB, free: 5.078 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.399, allocations: 477 kB / 1.319 GB, free: 4.586 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3994, allocations: 0.7603 MB / 1.32 GB, free: 3.797 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.3995, allocations: 26.28 kB / 1.32 GB, free: 3.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.3996, allocations: 27.44 kB / 1.32 GB, free: 3.742 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.3996, allocations: 0 / 1.32 GB, free: 3.742 MB / 1.014 GB Notification: Performance of Templates: time 0.008007/0.4076, allocations: 3.305 MB / 1.323 GB, free: 460 kB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.08747093565762]