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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00101/0.00101, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001168/0.001169, allocations: 193.2 kB / 17.31 MB, free: 5.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.181/1.181, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.972/1.972, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.12 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2114, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003037/0.2145, allocations: 2.023 MB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2155, allocations: 0.6936 MB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.384e-05/0.2156, allocations: 4 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.2158, allocations: 35.55 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.2159, allocations: 35.59 kB / 0.9539 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.2163, allocations: 167.7 kB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.2166, allocations: 399.3 kB / 0.9544 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.2169, allocations: 259.7 kB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.2171, allocations: 135.6 kB / 0.9548 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2172, allocations: 143.4 kB / 0.9549 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.2173, allocations: 40 kB / 0.9549 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.2174, allocations: 48 kB / 0.955 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.2175, allocations: 87.73 kB / 0.9551 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.2176, allocations: 147.3 kB / 0.9552 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.218, allocations: 434.5 kB / 0.9556 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.218, allocations: 4 kB / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.218, allocations: 0 / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.218, allocations: 0 / 0.9556 GB, free: 3.418 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.0007903/0.2188, allocations: 0.5952 MB / 0.9562 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2188, allocations: 8.031 kB / 0.9562 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.2189, allocations: 36.56 kB / 0.9563 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.2192, allocations: 277.3 kB / 0.9565 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.2192, allocations: 29.03 kB / 0.9565 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.2193, allocations: 36.38 kB / 0.9566 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.2198, allocations: 337.2 kB / 0.9569 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2198, allocations: 0 / 0.9569 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2199, allocations: 12 kB / 0.9569 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2199, allocations: 8 kB / 0.9569 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.2204, allocations: 258 kB / 0.9572 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.2217, allocations: 0.9434 MB / 0.9581 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.2222, allocations: 266.8 kB / 0.9583 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.2225, allocations: 128.8 kB / 0.9585 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2225, allocations: 4 kB / 0.9585 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.2228, allocations: 175.8 kB / 0.9586 GB, free: 152 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.2228, allocations: 0 / 0.9586 GB, free: 152 kB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.0007203/0.2236, allocations: 357.2 kB / 0.959 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.2236, allocations: 63.41 kB / 0.959 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2238, allocations: 199.3 kB / 0.9592 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.2238, allocations: 41.7 kB / 0.9593 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.2239, allocations: 144.6 kB / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.224, allocations: 90.83 kB / 0.9595 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2241, allocations: 86.11 kB / 0.9596 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2242, allocations: 338.8 kB / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.2244, allocations: 112.8 kB / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.2247, allocations: 161.5 kB / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.2251, allocations: 254.7 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2251, allocations: 3.938 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006063/0.2257, allocations: 367 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.2258, allocations: 37.7 kB / 0.9608 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2258, allocations: 0 / 0.9608 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2258, allocations: 4 kB / 0.9608 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.226, allocations: 39.91 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.226, allocations: 4 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.2262, allocations: 63.58 kB / 0.9609 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.2263, allocations: 16.03 kB / 0.9609 GB, free: 13.69 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.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.0001444/0.2264, allocations: 179.7 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.2264, allocations: 19.72 kB / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.227, allocations: 296.3 kB / 0.9614 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.227, allocations: 8 kB / 0.9614 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.227, allocations: 0 / 0.9614 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.227, allocations: 3.984 kB / 0.9614 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.228, allocations: 0.7447 MB / 0.9621 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.228, allocations: 4 kB / 0.9621 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2281, allocations: 31.91 kB / 0.9622 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2281, allocations: 0 / 0.9622 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.2282, allocations: 12 kB / 0.9622 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2282, allocations: 3.938 kB / 0.9622 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2282, allocations: 0 / 0.9622 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.2287, allocations: 372.2 kB / 0.9625 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2288, allocations: 104.8 kB / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.2288, allocations: 11.98 kB / 0.9626 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.2291, allocations: 35.91 kB / 0.9627 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.2292, allocations: 35.95 kB / 0.9627 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.2292, allocations: 15.98 kB / 0.9627 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.028e-05/0.2293, allocations: 131.8 kB / 0.9629 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.332e-06/0.2293, allocations: 0 / 0.9629 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002847/0.2296, allocations: 75.69 kB / 0.9629 GB, free: 11.54 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.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.0001386/0.2297, allocations: 125.5 kB / 0.963 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.2303, allocations: 334.9 kB / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2303, allocations: 0 / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.2306, allocations: 135.8 kB / 0.9635 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2309, allocations: 32.3 kB / 0.9635 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.2316, allocations: 457 kB / 0.964 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.2319, allocations: 0.7641 MB / 0.9647 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.301e-05/0.232, allocations: 30.28 kB / 0.9647 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.232, allocations: 31.44 kB / 0.9648 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.232, allocations: 0 / 0.9648 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of Templates: time 0.005796/0.2378, allocations: 3.102 MB / 0.9678 GB, free: 6.484 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 -s cvode -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