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.001622/0.001622, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.001677/0.001676, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.241/2.241, allocations: 390.2 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.45 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2924, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003666/0.2961, allocations: 2.101 MB / 0.9518 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2974, allocations: 0.6975 MB / 0.9525 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.2976, allocations: 4 kB / 0.9525 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.2978, allocations: 23.8 kB / 0.9525 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2979, allocations: 23.78 kB / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.2984, allocations: 143.9 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.2989, allocations: 411.2 kB / 0.9531 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.2993, allocations: 243.8 kB / 0.9533 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.2994, allocations: 135.6 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2996, allocations: 151.3 kB / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.2997, allocations: 40 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2998, allocations: 44 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.2999, allocations: 87.73 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3001, allocations: 151.3 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.3004, allocations: 339.5 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3004, allocations: 4 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3004, allocations: 3.938 kB / 0.9542 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.3004, allocations: 0 / 0.9542 GB, free: 4.664 MB / 0.7325 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.001021/0.3015, allocations: 0.6029 MB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3015, allocations: 8.031 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.3016, allocations: 36.56 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3019, allocations: 263.8 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.302, allocations: 29.02 kB / 0.9551 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.3021, allocations: 40.38 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.3027, allocations: 333.1 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3027, allocations: 0 / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3028, allocations: 15.98 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3028, allocations: 8 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.3034, allocations: 250.1 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.3049, allocations: 0.9588 MB / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.3056, allocations: 273.5 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.3058, allocations: 124.8 kB / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3059, allocations: 0 / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.3063, allocations: 187.2 kB / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.3064, allocations: 0 / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.0008476/0.3072, allocations: 357.8 kB / 0.9576 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3073, allocations: 55.41 kB / 0.9576 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.3075, allocations: 199.3 kB / 0.9578 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.3075, allocations: 45.7 kB / 0.9579 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3076, allocations: 148.6 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.619e-05/0.3077, allocations: 90.77 kB / 0.9581 GB, free: 472 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.3079, allocations: 86.11 kB / 0.9582 GB, free: 380 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.308, allocations: 342.8 kB / 0.9585 GB, free: 28 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.3083, allocations: 104.8 kB / 0.9586 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.3086, allocations: 181.4 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.3091, allocations: 254.7 kB / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3091, allocations: 0 / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007051/0.3098, allocations: 366.6 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.3099, allocations: 32.36 kB / 0.9594 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3099, allocations: 4 kB / 0.9594 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3099, allocations: 4 kB / 0.9594 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.3102, allocations: 48.06 kB / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3102, allocations: 0 / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3104, allocations: 63.55 kB / 0.9595 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.3105, allocations: 15.94 kB / 0.9595 GB, free: 14.91 MB / 0.7481 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.0001924/0.3107, allocations: 173.7 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.3107, allocations: 19.8 kB / 0.9597 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.3114, allocations: 296.3 kB / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3114, allocations: 7.984 kB / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3114, allocations: 0 / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3114, allocations: 0 / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.3126, allocations: 0.7596 MB / 0.9608 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3126, allocations: 0 / 0.9608 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3127, allocations: 31.91 kB / 0.9608 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3128, allocations: 0 / 0.9608 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.3128, allocations: 8 kB / 0.9608 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3128, allocations: 3.938 kB / 0.9608 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3128, allocations: 4 kB / 0.9608 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.3134, allocations: 367.1 kB / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.3135, allocations: 104.8 kB / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.3135, allocations: 15.98 kB / 0.9613 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3137, allocations: 35.91 kB / 0.9613 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3139, allocations: 35.95 kB / 0.9613 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3139, allocations: 8 kB / 0.9613 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001107/0.314, allocations: 139.7 kB / 0.9615 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.543e-06/0.314, allocations: 0 / 0.9615 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000326/0.3144, allocations: 71.72 kB / 0.9615 GB, free: 12.76 MB / 0.7481 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.0001846/0.3145, allocations: 129.4 kB / 0.9617 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.3153, allocations: 347 kB / 0.962 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3153, allocations: 0 / 0.962 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.3156, allocations: 135.9 kB / 0.9621 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3159, allocations: 36.28 kB / 0.9622 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.3169, allocations: 0.565 MB / 0.9627 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3173, allocations: 0.7602 MB / 0.9635 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3174, allocations: 31.42 kB / 0.9635 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3174, allocations: 0 / 0.9635 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of Templates: time 0.006257/0.3236, allocations: 3.481 MB / 0.9669 GB, free: 7.219 MB / 0.7481 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/jenkins1/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