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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001611, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.42/2.42, allocations: 437.1 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5368, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003089/0.5399, allocations: 2.004 MB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.5411, allocations: 0.678 MB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.5412, allocations: 7.938 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.5414, allocations: 39.61 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.81e-05/0.5415, allocations: 35.59 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.5419, allocations: 155.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.5424, allocations: 407.2 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.5427, allocations: 259.1 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.5429, allocations: 139.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.5431, allocations: 147.4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.5431, allocations: 40 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.5432, allocations: 44 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.5433, allocations: 87.73 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.5434, allocations: 151.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.5438, allocations: 418.7 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5438, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5438, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.5439, allocations: 0 / 1.022 GB, free: 13.86 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.00088/0.5447, allocations: 0.5991 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.5448, allocations: 8.031 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.604e-05/0.5449, allocations: 62.72 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.5449, allocations: 40.56 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.5452, allocations: 273.5 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.5453, allocations: 29.03 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.5453, allocations: 32.38 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.5459, allocations: 341 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.546, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.546, allocations: 12 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.546, allocations: 8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.5466, allocations: 254 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.5481, allocations: 0.9551 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.5487, allocations: 264.6 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.549, allocations: 120.8 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.549, allocations: 4 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/0.5495, allocations: 187.3 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.5495, allocations: 0 / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.0008007/0.5503, allocations: 350 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.5503, allocations: 59.41 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.5505, allocations: 203.3 kB / 1.026 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.5506, allocations: 37.7 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.5507, allocations: 160.5 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.5508, allocations: 86.89 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.5509, allocations: 90.11 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.551, allocations: 338.8 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.5513, allocations: 104.8 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.5516, allocations: 169.5 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.5521, allocations: 254.7 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5521, allocations: 4 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006911/0.5528, allocations: 378.5 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.5528, allocations: 39.36 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5528, allocations: 3.984 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5528, allocations: 4 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.553, allocations: 43.91 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5531, allocations: 4.156 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.5533, allocations: 59.64 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.5534, allocations: 16 kB / 1.027 GB, free: 8.039 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.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.0001696/0.5536, allocations: 179.5 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.5536, allocations: 23.72 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006064/0.5542, allocations: 295.2 kB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5542, allocations: 4 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5542, allocations: 0 / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.5543, allocations: 3.984 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.5553, allocations: 0.753 MB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5553, allocations: 0 / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.5555, allocations: 31.91 kB / 1.029 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5555, allocations: 0 / 1.029 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.5555, allocations: 11.94 kB / 1.029 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5555, allocations: 0 / 1.029 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5555, allocations: 0 / 1.029 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.5561, allocations: 383.3 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.5562, allocations: 96.86 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.5562, allocations: 15.92 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.5565, allocations: 31.97 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.5566, allocations: 39.95 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.5566, allocations: 11.98 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.125e-05/0.5567, allocations: 127.2 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5567, allocations: 3.938 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003233/0.557, allocations: 71.75 kB / 1.029 GB, free: 5.879 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.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.000893/0.5579, allocations: 0.9418 MB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006972/0.5586, allocations: 347.3 kB / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5586, allocations: 0 / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.5589, allocations: 132.2 kB / 1.031 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.5593, allocations: 42.59 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.5626, allocations: 2.621 MB / 1.033 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.5629, allocations: 0.7603 MB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.563, allocations: 30.28 kB / 1.034 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.5632, allocations: 87.39 kB / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5632, allocations: 0 / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.584, allocations: 5.551 MB / 1.04 GB, free: 11.33 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.524, allocations: 4.688 kB / 1.04 GB, free: 11.32 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.fmu > 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