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.001914/0.001914, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002271/0.002271, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.188/3.188, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.643e-06/1.643e-06, allocations: 0 / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.905e-05, allocations: 9.719 kB / 0.8776 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.00327/0.003299, allocations: 1.7 MB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.0044, allocations: 0.4911 MB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.004474, allocations: 5.062 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.004514, allocations: 11.86 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.004619, allocations: 16.89 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.00489, allocations: 48.94 kB / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.005063, allocations: 87.64 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.005174, allocations: 20.22 kB / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.005365, allocations: 52.55 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.005443, allocations: 27.91 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.00547, allocations: 9.344 kB / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.005544, allocations: 15.94 kB / 0.88 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.005572, allocations: 19.91 kB / 0.8801 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.005617, allocations: 20.58 kB / 0.8801 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.005831, allocations: 103.6 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.005834, allocations: 1.375 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.005834, allocations: 0 / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.00584, allocations: 0 / 0.8802 GB, free: 3.816 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.0006199/0.00646, allocations: 318.7 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.006508, allocations: 8.625 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.006764, allocations: 33.41 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.007012, allocations: 138.8 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.007025, allocations: 4.375 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.007043, allocations: 11.78 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.007295, allocations: 113.6 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.007303, allocations: 192 / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.007318, allocations: 4.375 kB / 0.8808 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.007324, allocations: 3.938 kB / 0.8808 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.007517, allocations: 51.91 kB / 0.8808 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.007997, allocations: 253.3 kB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.008163, allocations: 59.11 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.008256, allocations: 30.25 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.008274, allocations: 0 / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.008311, allocations: 30.56 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.008312, allocations: 4 kB / 0.8812 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003991/0.008711, allocations: 105.6 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.008776, allocations: 77.11 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.008926, allocations: 136.3 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.008952, allocations: 25.7 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.009039, allocations: 100.1 kB / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.009069, allocations: 15.91 kB / 0.8816 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.00912, allocations: 21.66 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.009298, allocations: 318.8 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.009402, allocations: 27.98 kB / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.009515, allocations: 59.41 kB / 0.882 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.009677, allocations: 52.77 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.009679, allocations: 7.938 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000232/0.009911, allocations: 85.8 kB / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.009927, allocations: 8 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.009931, allocations: 4.031 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.009949, allocations: 4 kB / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01006, allocations: 11.94 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01006, allocations: 3.984 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.01015, allocations: 11.94 kB / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01016, allocations: 7.984 kB / 0.8822 GB, free: 1.52 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 0.0001213/0.01028, allocations: 117.8 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.01032, allocations: 8.141 kB / 0.8823 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.01036, allocations: 12.34 kB / 0.8824 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01036, allocations: 7.984 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.01036, allocations: 0 / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.01037, allocations: 0 / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.01056, allocations: 133.2 kB / 0.8825 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.01056, allocations: 4 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.01064, allocations: 7.984 kB / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01064, allocations: 0 / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01065, allocations: 4 kB / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01065, allocations: 0 / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01065, allocations: 0 / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.01095, allocations: 187.3 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.01097, allocations: 11.94 kB / 0.8827 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.01099, allocations: 0 / 0.8827 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.0111, allocations: 11.98 kB / 0.8827 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.01116, allocations: 11.98 kB / 0.8827 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.01117, allocations: 0 / 0.8827 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.795e-05/0.01126, allocations: 105.5 kB / 0.8828 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01126, allocations: 0 / 0.8828 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002373/0.0115, allocations: 8 kB / 0.8828 GB, free: 0.8438 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 0.0001345/0.01163, allocations: 107.2 kB / 0.8829 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.01186, allocations: 51.91 kB / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01186, allocations: 0 / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.01195, allocations: 27.98 kB / 0.883 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.01222, allocations: 19.81 kB / 0.883 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.01264, allocations: 173.2 kB / 0.8832 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.724e-05/0.01273, allocations: 87.12 kB / 0.8833 GB, free: 336 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.01277, allocations: 4 kB / 0.8833 GB, free: 332 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.01282, allocations: 16.48 kB / 0.8833 GB, free: 316 kB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.01282, allocations: 0 / 0.8833 GB, free: 316 kB / 0.8386 GB Notification: Performance of Templates: time 0.003715/0.01654, allocations: 0.9398 MB / 0.8842 GB, free: 15.43 MB / 0.8542 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 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > 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: 8.126637556008063]