Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 88.22 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9206/0.9206, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.968/1.968, allocations: 428.6 MB / 0.6727 GB, free: 4.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0.6562 kB / 0.8763 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.837e-05, allocations: 3.031 kB / 0.8763 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002281/0.002309, allocations: 1.699 MB / 0.8779 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.003031, allocations: 0.4988 MB / 0.8784 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.003101, allocations: 3.906 kB / 0.8784 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.003133, allocations: 11.86 kB / 0.8784 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.00321, allocations: 15.81 kB / 0.8785 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.003467, allocations: 51.81 kB / 0.8785 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.0036, allocations: 87.64 kB / 0.8786 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.003708, allocations: 24.2 kB / 0.8786 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.003863, allocations: 47.91 kB / 0.8787 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.003929, allocations: 27.89 kB / 0.8787 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003948, allocations: 9.469 kB / 0.8787 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.149e-05/0.003989, allocations: 8 kB / 0.8787 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.004008, allocations: 19.92 kB / 0.8787 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.004041, allocations: 27.91 kB / 0.8788 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.004194, allocations: 100.5 kB / 0.8788 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.004196, allocations: 0 / 0.8788 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004198, allocations: 0 / 0.8788 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.004202, allocations: 1.125 kB / 0.8788 GB, free: 6.051 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004334/0.004636, allocations: 323 kB / 0.8792 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.004676, allocations: 12.03 kB / 0.8792 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.004838, allocations: 29.94 kB / 0.8792 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.005081, allocations: 137.6 kB / 0.8793 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.00509, allocations: 5.219 kB / 0.8793 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.005105, allocations: 4.375 kB / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.005295, allocations: 120.4 kB / 0.8795 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.005303, allocations: 192 / 0.8795 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.005316, allocations: 4.375 kB / 0.8795 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.005323, allocations: 7.922 kB / 0.8795 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.005418, allocations: 43.97 kB / 0.8795 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.005796, allocations: 262.1 kB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.0059, allocations: 54.48 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.005949, allocations: 25.56 kB / 0.8798 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.005965, allocations: 5.75 kB / 0.8798 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005988, allocations: 38.5 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.005989, allocations: 0 / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002419/0.006231, allocations: 98.14 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.006269, allocations: 78.83 kB / 0.88 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.006357, allocations: 139.7 kB / 0.8802 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.006372, allocations: 25.7 kB / 0.8802 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.006422, allocations: 100.1 kB / 0.8803 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.006441, allocations: 15.91 kB / 0.8803 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.006471, allocations: 14.5 kB / 0.8803 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.006569, allocations: 322.8 kB / 0.8806 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.006616, allocations: 24.73 kB / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.006676, allocations: 72.88 kB / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.154e-05/0.006758, allocations: 52.89 kB / 0.8808 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.00676, allocations: 4.031 kB / 0.8808 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000127/0.006887, allocations: 93.61 kB / 0.8809 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.006902, allocations: 4 kB / 0.8809 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006907, allocations: 0 / 0.8809 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.006922, allocations: 0 / 0.8809 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.00699, allocations: 8 kB / 0.8809 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.006996, allocations: 11.91 kB / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.007033, allocations: 8 kB / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.007041, allocations: 3.984 kB / 0.8809 GB, free: 3.758 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 6.733e-05/0.007108, allocations: 121.8 kB / 0.881 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.007127, allocations: 11.95 kB / 0.881 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.007151, allocations: 12.34 kB / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007153, allocations: 0 / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007157, allocations: 0 / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.00716, allocations: 0 / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.007272, allocations: 133.2 kB / 0.8812 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.007273, allocations: 0 / 0.8812 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.007302, allocations: 11.98 kB / 0.8812 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.007304, allocations: 4 kB / 0.8812 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.007312, allocations: 4 kB / 0.8812 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007313, allocations: 0 / 0.8812 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007315, allocations: 0 / 0.8812 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.007464, allocations: 183.3 kB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.007474, allocations: 11.94 kB / 0.8814 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.00749, allocations: 0 / 0.8814 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.00754, allocations: 11.98 kB / 0.8814 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.007588, allocations: 12.05 kB / 0.8814 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.007593, allocations: 8 kB / 0.8814 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.00764, allocations: 105.9 kB / 0.8815 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00764, allocations: 0 / 0.8815 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001523/0.007793, allocations: 15.95 kB / 0.8815 GB, free: 3.066 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.929e-05/0.007892, allocations: 103.5 kB / 0.8816 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.008033, allocations: 51.97 kB / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.008034, allocations: 3.938 kB / 0.8817 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/0.008075, allocations: 27.92 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.008264, allocations: 15.92 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.008579, allocations: 202.8 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.008632, allocations: 79.27 kB / 0.882 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.008669, allocations: 12.5 kB / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/0.008669, allocations: 0 / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of Templates: time 0.002225/0.01089, allocations: 1.078 MB / 0.8831 GB, free: 1.441 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch -emit_protected > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.572435151785612]