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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 192 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.909/2.909, allocations: 469.8 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.002231, allocations: 62.67 kB / 0.908 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3229, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003552/0.3265, allocations: 2.094 MB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3278, allocations: 0.7052 MB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3279, allocations: 4 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.328, allocations: 23.8 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.795e-05/0.3282, allocations: 27.78 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.3286, allocations: 143.8 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.3291, allocations: 399.3 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000377/0.3295, allocations: 255.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3297, allocations: 135.5 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3298, allocations: 147.4 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.3299, allocations: 40 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.33, allocations: 47.98 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.3301, allocations: 79.77 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3303, allocations: 151.3 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.3307, allocations: 419 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3307, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3307, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.3307, allocations: 4 kB / 1.068 GB, free: 9.973 MB / 0.8262 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.001002/0.3318, allocations: 0.6067 MB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3318, allocations: 8.031 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.3319, allocations: 28.66 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.3322, allocations: 270.7 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.3323, allocations: 29.03 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.3323, allocations: 28.38 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/0.3331, allocations: 345.1 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3331, allocations: 3.984 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.3331, allocations: 16 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3331, allocations: 4 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.3337, allocations: 250.1 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.3353, allocations: 0.9513 MB / 1.07 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.336, allocations: 266.8 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3362, allocations: 120.8 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3363, allocations: 11.98 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.3367, allocations: 195 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.445e-06/0.3368, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.000856/0.3376, allocations: 341.3 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3377, allocations: 63.34 kB / 1.071 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3379, allocations: 199.3 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.3379, allocations: 49.69 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3381, allocations: 148.5 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.3382, allocations: 86.94 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3383, allocations: 90.02 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3385, allocations: 338.8 kB / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.3387, allocations: 112.8 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.3391, allocations: 165.5 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.3396, allocations: 250.7 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3396, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007083/0.3403, allocations: 366.8 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.3403, allocations: 33.7 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3403, allocations: 0 / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3404, allocations: 7.984 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3406, allocations: 43.91 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3406, allocations: 8.094 kB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.3409, allocations: 59.66 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.3409, allocations: 16 kB / 1.073 GB, free: 4.238 MB / 0.8262 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.condition,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.condition,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.0001941/0.3411, allocations: 169.7 kB / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.3412, allocations: 23.81 kB / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.3418, allocations: 300.3 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.3419, allocations: 7.984 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3419, allocations: 0 / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3419, allocations: 3.938 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.3431, allocations: 0.7597 MB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3431, allocations: 0 / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3433, allocations: 23.98 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3433, allocations: 4 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.3433, allocations: 7.984 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3433, allocations: 3.938 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3433, allocations: 4 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.3439, allocations: 379 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.344, allocations: 96.8 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.344, allocations: 8 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.3443, allocations: 35.89 kB / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3444, allocations: 39.95 kB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.3444, allocations: 12 kB / 1.075 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001108/0.3446, allocations: 131.8 kB / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3446, allocations: 0 / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003582/0.3449, allocations: 71.77 kB / 1.075 GB, free: 2.082 MB / 0.8262 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.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,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.000178/0.3451, allocations: 121.4 kB / 1.075 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007613/0.3459, allocations: 362.7 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3459, allocations: 4 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.3462, allocations: 135.9 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.3466, allocations: 34.03 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.3475, allocations: 0.5452 MB / 1.076 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3479, allocations: 0.7603 MB / 1.077 GB, free: 60 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.348, allocations: 34.28 kB / 1.077 GB, free: 28 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3481, allocations: 31.47 kB / 1.077 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3481, allocations: 0 / 1.077 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.007183/0.3553, allocations: 2.992 MB / 1.08 GB, free: 13.02 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches