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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004937/0.004937, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001388/0.001388, allocations: 200.4 kB / 16.68 MB, free: 5.934 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.414/2.414, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 63.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5766, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002783/0.5794, allocations: 2.009 MB / 1.222 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000997/0.5804, allocations: 0.6827 MB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.5805, allocations: 4 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.5806, allocations: 31.61 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/0.5807, allocations: 39.59 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.5811, allocations: 167.7 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.5815, allocations: 407.1 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.5819, allocations: 247.8 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.582, allocations: 135.6 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.5822, allocations: 147.3 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.5822, allocations: 44 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.5823, allocations: 48 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.5824, allocations: 87.73 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.5826, allocations: 147.3 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.583, allocations: 442 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.583, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.583, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.583, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9512 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.0008208/0.5838, allocations: 0.6065 MB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.5839, allocations: 12.62 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.883e-05/0.5839, allocations: 66.72 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.584, allocations: 36.75 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.5843, allocations: 271.9 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.5843, allocations: 25.03 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.5844, allocations: 32.38 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.585, allocations: 348.9 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.585, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.585, allocations: 12 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.585, allocations: 8 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.5856, allocations: 254 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.5868, allocations: 0.9476 MB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.5874, allocations: 266.9 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.5877, allocations: 124.8 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.5877, allocations: 4 kB / 1.228 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.588, allocations: 199.7 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.588, allocations: 0 / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32): time 0.0007437/0.5888, allocations: 349.3 kB / 1.228 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.5888, allocations: 63.39 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.589, allocations: 203.4 kB / 1.228 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.5891, allocations: 37.7 kB / 1.228 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5892, allocations: 160.8 kB / 1.229 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.5892, allocations: 79.38 kB / 1.229 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.5894, allocations: 94.06 kB / 1.229 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5895, allocations: 338.8 kB / 1.229 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.5897, allocations: 104.8 kB / 1.229 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.59, allocations: 169.5 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.5905, allocations: 258.7 kB / 1.23 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5905, allocations: 0 / 1.23 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006366/0.5911, allocations: 374.7 kB / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.5912, allocations: 37.69 kB / 1.23 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5912, allocations: 0 / 1.23 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5912, allocations: 7.938 kB / 1.23 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.5914, allocations: 48.06 kB / 1.23 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5914, allocations: 4 kB / 1.23 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5916, allocations: 51.75 kB / 1.23 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.5916, allocations: 12 kB / 1.23 GB, free: 7.613 MB / 0.9512 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.0001593/0.5918, allocations: 181.7 kB / 1.23 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.5918, allocations: 23.8 kB / 1.23 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005805/0.5924, allocations: 303.1 kB / 1.231 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.5924, allocations: 8 kB / 1.231 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5925, allocations: 0 / 1.231 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5925, allocations: 0 / 1.231 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.5935, allocations: 0.7498 MB / 1.231 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5935, allocations: 0 / 1.231 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.5936, allocations: 27.92 kB / 1.231 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5936, allocations: 0 / 1.231 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.5937, allocations: 15.92 kB / 1.231 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5937, allocations: 0 / 1.231 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5937, allocations: 0 / 1.231 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.5942, allocations: 384.5 kB / 1.232 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.5943, allocations: 100.9 kB / 1.232 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.5943, allocations: 11.94 kB / 1.232 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.5945, allocations: 35.95 kB / 1.232 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.5946, allocations: 35.95 kB / 1.232 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.5947, allocations: 16 kB / 1.232 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.375e-05/0.5948, allocations: 127.5 kB / 1.232 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5948, allocations: 3.938 kB / 1.232 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002795/0.5951, allocations: 71.88 kB / 1.232 GB, free: 5.445 MB / 0.9512 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.0008466/0.5959, allocations: 0.9291 MB / 1.233 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005783/0.5965, allocations: 331.1 kB / 1.233 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5965, allocations: 0 / 1.233 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.5968, allocations: 137.2 kB / 1.233 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.5971, allocations: 37.84 kB / 1.233 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.6002, allocations: 2.637 MB / 1.236 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.6005, allocations: 0.7603 MB / 1.237 GB, free: 440 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.71e-05/0.6006, allocations: 34.28 kB / 1.237 GB, free: 408 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.6008, allocations: 87.41 kB / 1.237 GB, free: 324 kB / 0.9512 GB Notification: Performance of SimCode: time 1.804e-06/0.6008, allocations: 112 / 1.237 GB, free: 324 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.472/5.073, allocations: 5.652 MB / 1.242 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.12/29.19, allocations: 9.375 kB / 1.242 GB, free: 10.81 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.fmu > 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/jenkins1/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