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: 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_11_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_11_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.001351/0.001351, allocations: 108.5 kB / 15.99 MB, free: 6.355 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.001291/0.001291, allocations: 196.1 kB / 16.91 MB, free: 6.191 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.47/1.47, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.665/2.665, allocations: 469.8 MB / 0.7427 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 64.12 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3161, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00412/0.3203, allocations: 2.104 MB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3219, allocations: 0.6936 MB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.3221, allocations: 7.938 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.3222, allocations: 27.78 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.3224, allocations: 19.78 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.3228, allocations: 139.9 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000499/0.3234, allocations: 411.2 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.3238, allocations: 239.9 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.324, allocations: 135.6 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.3242, allocations: 147.3 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.3242, allocations: 43.94 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.705e-05/0.3243, allocations: 48 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.3244, allocations: 79.77 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.3246, allocations: 163.2 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.325, allocations: 335.6 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.325, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3251, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3251, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8419 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.001038/0.3261, allocations: 0.6029 MB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3262, allocations: 8.031 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.3262, allocations: 28.66 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.3266, allocations: 271.8 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.3266, allocations: 29.03 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.3267, allocations: 36.38 kB / 1.07 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.3274, allocations: 333.2 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3274, allocations: 7.938 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.3275, allocations: 8 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3275, allocations: 8 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/0.3281, allocations: 254.1 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.3297, allocations: 0.9512 MB / 1.071 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.3303, allocations: 266.8 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.3306, allocations: 128.8 kB / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.3307, allocations: 7.984 kB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/0.3311, allocations: 187.2 kB / 1.072 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.3311, allocations: 0 / 1.072 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=32): time 0.0008681/0.332, allocations: 345.3 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3321, allocations: 59.41 kB / 1.072 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3323, allocations: 207.3 kB / 1.072 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.3324, allocations: 45.69 kB / 1.072 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3325, allocations: 152.5 kB / 1.072 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.3326, allocations: 78.94 kB / 1.072 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.3327, allocations: 94.02 kB / 1.073 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3329, allocations: 334.8 kB / 1.073 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3332, allocations: 108.8 kB / 1.073 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.3335, allocations: 173.5 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.334, allocations: 258.6 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.334, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000739/0.3348, allocations: 370.6 kB / 1.074 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.3348, allocations: 33.7 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3349, allocations: 4.141 kB / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3349, allocations: 8 kB / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.3351, allocations: 43.91 kB / 1.074 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3351, allocations: 4 kB / 1.074 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.3354, allocations: 47.66 kB / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.3354, allocations: 19.94 kB / 1.074 GB, free: 4.781 MB / 0.8419 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.0002459/0.3357, allocations: 187.4 kB / 1.074 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.3357, allocations: 19.81 kB / 1.074 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.3364, allocations: 295.1 kB / 1.074 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3364, allocations: 4 kB / 1.074 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3364, allocations: 0 / 1.074 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.3365, allocations: 8 kB / 1.074 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.3377, allocations: 0.7568 MB / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3377, allocations: 0 / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3379, allocations: 27.92 kB / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3379, allocations: 0 / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3379, allocations: 11.98 kB / 1.075 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.3379, allocations: 11.94 kB / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3379, allocations: 0 / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.3386, allocations: 371 kB / 1.076 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.3386, allocations: 96.86 kB / 1.076 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.3387, allocations: 8 kB / 1.076 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.339, allocations: 39.89 kB / 1.076 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3391, allocations: 39.95 kB / 1.076 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3391, allocations: 8 kB / 1.076 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001195/0.3392, allocations: 135.7 kB / 1.076 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3392, allocations: 0 / 1.076 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000385/0.3396, allocations: 71.78 kB / 1.076 GB, free: 2.613 MB / 0.8419 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.0001996/0.3398, allocations: 125.4 kB / 1.076 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007877/0.3406, allocations: 347 kB / 1.076 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3406, allocations: 0 / 1.076 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.3409, allocations: 139.8 kB / 1.076 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3413, allocations: 35.5 kB / 1.077 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.3423, allocations: 0.5612 MB / 1.077 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3427, allocations: 0.7564 MB / 1.078 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.3428, allocations: 31.44 kB / 1.078 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3428, allocations: 4 kB / 1.078 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of Templates: time 0.452/0.7948, allocations: 3.473 MB / 1.081 GB, free: 21.34 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (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 & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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