Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00681/0.00681, allocations: 99.89 kB / 15.87 MB, free: 6.301 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.001662/0.001663, allocations: 197.9 kB / 16.79 MB, free: 6.234 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437 MB / 0.7106 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6758, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003986/0.6798, allocations: 2.097 MB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.6814, allocations: 0.6974 MB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.6817, allocations: 7.938 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.6819, allocations: 19.8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.6821, allocations: 27.78 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.6826, allocations: 147.9 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.6832, allocations: 371.2 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.6836, allocations: 220.2 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.6838, allocations: 119.6 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.6841, allocations: 131.4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.6841, allocations: 20 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.6842, allocations: 28 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.6843, allocations: 71.67 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.6845, allocations: 135.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.6848, allocations: 317.3 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6849, allocations: 0 / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6849, allocations: 0 / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.6849, allocations: 0 / 1.022 GB, free: 14.37 MB / 0.7794 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.001042/0.6859, allocations: 0.5913 MB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.686, allocations: 15.97 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.6861, allocations: 36.56 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.6864, allocations: 273.5 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.6865, allocations: 29.03 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.6865, allocations: 32.38 kB / 1.023 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.6872, allocations: 341.1 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6872, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.6873, allocations: 12 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.6873, allocations: 8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.6879, allocations: 250 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.6895, allocations: 0.9629 MB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.6902, allocations: 262.9 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.6904, allocations: 120.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.6905, allocations: 8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004701/0.691, allocations: 183.8 kB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.943e-06/0.691, allocations: 0 / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.0008252/0.6918, allocations: 345.2 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.6919, allocations: 63.41 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.6921, allocations: 207.3 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.6922, allocations: 41.69 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.6923, allocations: 156.5 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.6924, allocations: 75 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.6925, allocations: 90.11 kB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6927, allocations: 338.8 kB / 1.026 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.693, allocations: 104.8 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.6933, allocations: 169.5 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.6938, allocations: 258.7 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6938, allocations: 0 / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000744/0.6946, allocations: 374.5 kB / 1.027 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/0.6946, allocations: 35.42 kB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.6946, allocations: 7.938 kB / 1.027 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6947, allocations: 4 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.6949, allocations: 43.91 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6949, allocations: 7.984 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.6952, allocations: 51.56 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.6952, allocations: 16 kB / 1.027 GB, free: 8.645 MB / 0.7794 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.0002059/0.6954, allocations: 189.6 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.6955, allocations: 19.75 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006583/0.6961, allocations: 299.2 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6962, allocations: 4 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6962, allocations: 4 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.6962, allocations: 3.984 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.6974, allocations: 0.7491 MB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6974, allocations: 0 / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.6975, allocations: 27.92 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.6975, allocations: 4 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.6976, allocations: 11.98 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.6976, allocations: 7.938 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6976, allocations: 0 / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.6982, allocations: 363.4 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.6983, allocations: 100.8 kB / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.6983, allocations: 8 kB / 1.029 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.6986, allocations: 43.89 kB / 1.029 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.6987, allocations: 35.95 kB / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.6987, allocations: 11.98 kB / 1.029 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001205/0.6989, allocations: 135.5 kB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6989, allocations: 0 / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003735/0.6992, allocations: 67.84 kB / 1.029 GB, free: 6.477 MB / 0.7794 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.0002001/0.6995, allocations: 121.5 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007194/0.7002, allocations: 335.9 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7002, allocations: 0 / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.7005, allocations: 140.1 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.7009, allocations: 35.97 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.702, allocations: 0.5611 MB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.7024, allocations: 0.7642 MB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.7025, allocations: 27.44 kB / 1.031 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.7025, allocations: 0 / 1.031 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of Templates: time 0.00651/0.709, allocations: 3.476 MB / 1.034 GB, free: 0.957 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches