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.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.002041/0.002041, allocations: 107.7 kB / 16.46 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.002349/0.002349, allocations: 216.2 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.271/3.271, allocations: 0.4899 GB / 0.7915 GB, free: 33.42 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.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: 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.002058/0.002058, allocations: 73.64 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003652/0.328, allocations: 2.035 MB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3295, allocations: 0.7286 MB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3296, allocations: 11.94 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.3298, allocations: 35.72 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3299, allocations: 39.59 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.3303, allocations: 159.8 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.3309, allocations: 407 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.3312, allocations: 212.8 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.3314, allocations: 139.6 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.3316, allocations: 147.3 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.3316, allocations: 40 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.3317, allocations: 47.98 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.254e-05/0.3318, allocations: 79.77 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3319, allocations: 155.2 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.3324, allocations: 442.3 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3324, allocations: 4 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3324, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3324, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 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.001056/0.3335, allocations: 0.6142 MB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3335, allocations: 8.031 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.3338, allocations: 44.72 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.3342, allocations: 268.9 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.3343, allocations: 33.03 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.3343, allocations: 32.38 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.335, allocations: 333.2 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.335, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.335, allocations: 19.92 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3351, allocations: 4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.3357, allocations: 254 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.3372, allocations: 0.9438 MB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.3378, allocations: 248 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.3381, allocations: 104.8 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3381, allocations: 7.984 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.3385, allocations: 179.2 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.3385, allocations: 0 / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.0008762/0.3394, allocations: 354.7 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3395, allocations: 59.41 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.3397, allocations: 199.4 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.3397, allocations: 41.7 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3398, allocations: 152.8 kB / 1.33 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.3399, allocations: 87.3 kB / 1.33 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3401, allocations: 94.05 kB / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3402, allocations: 338.8 kB / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.3405, allocations: 104.8 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.3408, allocations: 165.5 kB / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.3413, allocations: 262.6 kB / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3413, allocations: 0 / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007239/0.342, allocations: 374.8 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.3421, allocations: 29.7 kB / 1.331 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3421, allocations: 4 kB / 1.331 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3421, allocations: 7.938 kB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3423, allocations: 39.91 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3423, allocations: 4 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.3426, allocations: 63.8 kB / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3426, allocations: 8 kB / 1.331 GB, free: 8.434 MB / 1.029 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.0001939/0.3428, allocations: 177.7 kB / 1.331 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.3428, allocations: 19.86 kB / 1.331 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.3429, allocations: 26.66 kB / 1.331 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3429, allocations: 4 kB / 1.331 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3429, allocations: 4 kB / 1.331 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3429, allocations: 7.969 kB / 1.331 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3441, allocations: 0.7295 MB / 1.332 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3441, allocations: 0 / 1.332 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.3443, allocations: 31.92 kB / 1.332 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3443, allocations: 0 / 1.332 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.3443, allocations: 11.98 kB / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.3443, allocations: 11.92 kB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3443, allocations: 0 / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006082/0.3449, allocations: 360.9 kB / 1.332 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.345, allocations: 100.9 kB / 1.332 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.345, allocations: 11.98 kB / 1.332 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.3453, allocations: 35.91 kB / 1.333 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3454, allocations: 35.95 kB / 1.333 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.3454, allocations: 8 kB / 1.333 GB, free: 6.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001223/0.3455, allocations: 141.1 kB / 1.333 GB, free: 6.641 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3455, allocations: 0 / 1.333 GB, free: 6.641 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003276/0.3459, allocations: 63.84 kB / 1.333 GB, free: 6.578 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: 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.0001664/0.346, allocations: 133.4 kB / 1.333 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006894/0.3467, allocations: 307.4 kB / 1.333 GB, free: 6.121 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3467, allocations: 0 / 1.333 GB, free: 6.121 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.347, allocations: 119.9 kB / 1.333 GB, free: 6.004 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3474, allocations: 32.3 kB / 1.333 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.3483, allocations: 456.4 kB / 1.334 GB, free: 5.496 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3487, allocations: 0.7564 MB / 1.335 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.905e-05/0.3488, allocations: 26.28 kB / 1.335 GB, free: 4.688 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.3488, allocations: 31.42 kB / 1.335 GB, free: 4.656 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3488, allocations: 0 / 1.335 GB, free: 4.656 MB / 1.029 GB Notification: Performance of Templates: time 0.007393/0.3562, allocations: 2.955 MB / 1.337 GB, free: 1.719 MB / 1.029 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.214794624131173]