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.009731/0.009731, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.002018/0.002018, allocations: 190 kB / 16.67 MB, free: 5.48 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.91 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003537/1.144, allocations: 2.015 MB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001319/1.146, allocations: 0.6767 MB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/1.146, allocations: 3.875 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/1.146, allocations: 35.3 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/1.146, allocations: 36.58 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/1.147, allocations: 159.3 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005349/1.147, allocations: 411.4 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/1.148, allocations: 240.8 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/1.148, allocations: 138.1 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/1.148, allocations: 145.6 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/1.148, allocations: 39.84 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/1.148, allocations: 52.17 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/1.148, allocations: 82.62 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/1.149, allocations: 158.8 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007117/1.149, allocations: 439.6 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.149, allocations: 0.5625 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.455e-06/1.149, allocations: 0 / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.149, allocations: 0.5 kB / 1.092 GB, free: 2.691 MB / 0.8575 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.00113/1.15, allocations: 0.6059 MB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.151, allocations: 9.812 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/1.151, allocations: 37.61 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/1.151, allocations: 272.8 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/1.151, allocations: 28.52 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/1.151, allocations: 35.62 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/1.152, allocations: 337.4 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.152, allocations: 0 / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/1.152, allocations: 12.14 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/1.152, allocations: 7.312 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/1.153, allocations: 258.6 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/1.154, allocations: 0.9514 MB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/1.155, allocations: 272.1 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/1.156, allocations: 120.3 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/1.156, allocations: 3.875 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004348/1.156, allocations: 178.9 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 2.144e-06/1.156, allocations: 0.9688 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0009723/1.157, allocations: 359.5 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.157, allocations: 58.23 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/1.157, allocations: 198.3 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/1.157, allocations: 40.27 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/1.157, allocations: 161.3 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.91e-05/1.158, allocations: 82.78 kB / 1.096 GB, free: 128 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/1.158, allocations: 95.8 kB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001935/1.158, allocations: 340.1 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/1.158, allocations: 104.5 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/1.159, allocations: 165.9 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/1.159, allocations: 262.5 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.159, allocations: 0 / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008161/1.16, allocations: 371.5 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/1.16, allocations: 36.36 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.16, allocations: 5.031 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.16, allocations: 3.562 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/1.16, allocations: 44.05 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.16, allocations: 3.922 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/1.161, allocations: 62.75 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/1.161, allocations: 11.61 kB / 1.098 GB, free: 15.2 MB / 0.8731 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.0002492/1.161, allocations: 179.2 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/1.161, allocations: 17.38 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/1.162, allocations: 306 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.162, allocations: 3.531 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.162, allocations: 0 / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.162, allocations: 3.078 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/1.163, allocations: 0.7488 MB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.163, allocations: 1.234 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/1.163, allocations: 33.95 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/1.163, allocations: 2.281 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/1.164, allocations: 7.141 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/1.164, allocations: 5.562 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.164, allocations: 0 / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/1.164, allocations: 371.2 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/1.164, allocations: 105.2 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/1.164, allocations: 14.75 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/1.165, allocations: 34.36 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.165, allocations: 37.05 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/1.165, allocations: 12.48 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001789/1.165, allocations: 133.7 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.165, allocations: 4.719 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000456/1.166, allocations: 74.11 kB / 1.1 GB, free: 13.93 MB / 0.8731 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.0003013/1.166, allocations: 126.5 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008962/1.167, allocations: 335 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.167, allocations: 5.562 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/1.167, allocations: 138.1 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/1.168, allocations: 37.89 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/1.169, allocations: 455.6 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/1.169, allocations: 0.7587 MB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001539/1.17, allocations: 30.77 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.17, allocations: 30.33 kB / 1.102 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/1.17, allocations: 0 / 1.102 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.009647/1.179, allocations: 3.135 MB / 1.105 GB, free: 12.36 MB / 0.8731 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