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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00146/0.00146, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001371/0.001371, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 68.75 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3152, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003803/0.319, allocations: 2.007 MB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3204, allocations: 0.6896 MB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.3205, allocations: 11.94 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.3207, allocations: 35.61 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3208, allocations: 43.53 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.3212, allocations: 155.8 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.3217, allocations: 407.2 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.3221, allocations: 244.8 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.3222, allocations: 143.5 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3224, allocations: 143.4 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.335e-05/0.3225, allocations: 40 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.3226, allocations: 44 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.3227, allocations: 87.75 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3229, allocations: 155.2 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.3233, allocations: 411 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3233, allocations: 4 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3233, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3233, allocations: 4 kB / 1.022 GB, free: 6.004 MB / 0.795 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.0009824/0.3243, allocations: 0.5969 MB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3244, allocations: 16.88 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.352e-05/0.3245, allocations: 40.56 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.3248, allocations: 268.3 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.3249, allocations: 29.03 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.3249, allocations: 36.38 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.3256, allocations: 337.2 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3256, allocations: 0 / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.3256, allocations: 15.98 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3257, allocations: 8 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.3263, allocations: 254 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.3278, allocations: 0.9512 MB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.3284, allocations: 268.3 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.3287, allocations: 121.3 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3287, allocations: 4 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.3292, allocations: 191.2 kB / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.3292, allocations: 0 / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of matching and sorting (n=32): time 0.0008749/0.3301, allocations: 350.6 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.3302, allocations: 59.34 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3304, allocations: 203.8 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.3304, allocations: 37.7 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3306, allocations: 156.5 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.3307, allocations: 86.92 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.3308, allocations: 86.11 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3309, allocations: 342.8 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3312, allocations: 104.8 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.3315, allocations: 169.5 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.332, allocations: 246.7 kB / 1.027 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.332, allocations: 11.94 kB / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007072/0.3328, allocations: 374.5 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.3328, allocations: 29.7 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3328, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3328, allocations: 3.938 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.3331, allocations: 43.91 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.3331, allocations: 4.156 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3333, allocations: 63.55 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.3334, allocations: 12 kB / 1.028 GB, free: 276 kB / 0.795 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.0001918/0.3336, allocations: 178.8 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3336, allocations: 19.81 kB / 1.028 GB, free: 68 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/0.3343, allocations: 299.2 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3343, allocations: 4 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3343, allocations: 0 / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3343, allocations: 3.984 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.3355, allocations: 0.7531 MB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3355, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.3356, allocations: 31.91 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3357, allocations: 4 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3357, allocations: 4 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.3357, allocations: 7.938 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3357, allocations: 0 / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.3363, allocations: 375.3 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.3364, allocations: 92.86 kB / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.3364, allocations: 11.98 kB / 1.029 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.3367, allocations: 35.91 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.3368, allocations: 43.89 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.3368, allocations: 11.98 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000107/0.3369, allocations: 127.2 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.337, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003382/0.3373, allocations: 71.75 kB / 1.03 GB, free: 14.12 MB / 0.8106 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.0001891/0.3375, allocations: 121.4 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007528/0.3383, allocations: 352.2 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3383, allocations: 0 / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.3386, allocations: 143.7 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.3389, allocations: 35.92 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.3399, allocations: 491 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.3404, allocations: 0.7564 MB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.3405, allocations: 31.42 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3405, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of Templates: time 0.00733/0.3478, allocations: 3.492 MB / 1.035 GB, free: 8.652 MB / 0.8106 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=400 -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