Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001085/0.001085, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009779/0.009779, allocations: 169 kB / 16.26 MB, free: 6.613 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003473, allocations: 11.94 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8002, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002644/0.8029, allocations: 1.74 MB / 0.9567 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.804, allocations: 0.6844 MB / 0.9574 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.8041, allocations: 4.656 kB / 0.9574 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.8043, allocations: 27.17 kB / 0.9574 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.8044, allocations: 30.34 kB / 0.9575 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.8048, allocations: 137.2 kB / 0.9576 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.8051, allocations: 370.9 kB / 0.958 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.8054, allocations: 202.5 kB / 0.9582 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.8056, allocations: 108.7 kB / 0.9583 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.8057, allocations: 118.2 kB / 0.9584 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.8058, allocations: 13.41 kB / 0.9584 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.8059, allocations: 20.7 kB / 0.9584 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.8059, allocations: 53.23 kB / 0.9585 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.806, allocations: 152 kB / 0.9586 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.8063, allocations: 378.3 kB / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8063, allocations: 0 / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8063, allocations: 0 / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8064, allocations: 0 / 0.959 GB, free: 4.73 MB / 0.7169 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.0008515/0.8072, allocations: 0.5468 MB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.8073, allocations: 8.25 kB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.8073, allocations: 33.06 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.8076, allocations: 271.9 kB / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.8076, allocations: 26.78 kB / 0.9598 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.8077, allocations: 31.75 kB / 0.9598 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.8083, allocations: 347.4 kB / 0.9602 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.8083, allocations: 0 / 0.9602 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.8084, allocations: 15.47 kB / 0.9602 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.8084, allocations: 7.031 kB / 0.9602 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.809, allocations: 263.4 kB / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.8102, allocations: 0.9563 MB / 0.9614 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.8109, allocations: 273.4 kB / 0.9616 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.8111, allocations: 131.7 kB / 0.9618 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.8112, allocations: 3 kB / 0.9618 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.8116, allocations: 183.7 kB / 0.9619 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.8116, allocations: 0 / 0.9619 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.000813/0.8124, allocations: 371.2 kB / 0.9623 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.8124, allocations: 68.55 kB / 0.9624 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.8126, allocations: 198.4 kB / 0.9626 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.8126, allocations: 43.95 kB / 0.9626 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.8127, allocations: 149.3 kB / 0.9627 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.8128, allocations: 82.77 kB / 0.9628 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.8128, allocations: 58.25 kB / 0.9629 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.8129, allocations: 339.8 kB / 0.9632 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.8132, allocations: 114.8 kB / 0.9633 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.8135, allocations: 169.5 kB / 0.9635 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.8139, allocations: 270.3 kB / 0.9637 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8139, allocations: 3.938 kB / 0.9637 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006552/0.8146, allocations: 376 kB / 0.9641 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.8146, allocations: 31.98 kB / 0.9641 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.8147, allocations: 5.125 kB / 0.9641 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8147, allocations: 3.5 kB / 0.9641 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.8149, allocations: 50.69 kB / 0.9642 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8149, allocations: 7.344 kB / 0.9642 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.8152, allocations: 62.23 kB / 0.9642 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.8152, allocations: 15.31 kB / 0.9643 GB, free: 0.7109 MB / 0.7169 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.0001494/0.8154, allocations: 179.6 kB / 0.9644 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.8154, allocations: 21.5 kB / 0.9645 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006166/0.8161, allocations: 317.5 kB / 0.9648 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.8161, allocations: 4.188 kB / 0.9648 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8161, allocations: 0 / 0.9648 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.8161, allocations: 3.984 kB / 0.9648 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.8172, allocations: 0.759 MB / 0.9655 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8173, allocations: 0 / 0.9655 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.8174, allocations: 34.41 kB / 0.9655 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.8174, allocations: 1.844 kB / 0.9655 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.8174, allocations: 13.75 kB / 0.9656 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.8175, allocations: 5.125 kB / 0.9656 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8175, allocations: 1.312 kB / 0.9656 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.8181, allocations: 381.4 kB / 0.9659 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.8182, allocations: 98.89 kB / 0.966 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.8182, allocations: 14.83 kB / 0.966 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.8185, allocations: 37.81 kB / 0.9661 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.8186, allocations: 36.77 kB / 0.9661 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.8186, allocations: 14.95 kB / 0.9661 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001104/0.8187, allocations: 131.2 kB / 0.9662 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8187, allocations: 1.031 kB / 0.9662 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003881/0.8191, allocations: 69.12 kB / 0.9663 GB, free: 15.22 MB / 0.7325 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.0001912/0.8193, allocations: 124.2 kB / 0.9664 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006995/0.82, allocations: 351.8 kB / 0.9668 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8201, allocations: 0 / 0.9668 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.8204, allocations: 149.3 kB / 0.9669 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.8208, allocations: 38.95 kB / 0.9669 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009491/0.8217, allocations: 0.5432 MB / 0.9675 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.8222, allocations: 0.7528 MB / 0.9682 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.8223, allocations: 34.59 kB / 0.9682 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.8224, allocations: 31.36 kB / 0.9683 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8224, allocations: 1.094 kB / 0.9683 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.006696/0.8291, allocations: 2.826 MB / 0.971 GB, free: 12.29 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches