Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.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.001747/0.001747, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.002142/0.002142, allocations: 209.2 kB / 23 MB, free: 4.934 MB / 14.72 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.406/3.406, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 71.8 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4292, allocations: 176.1 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003822/0.433, allocations: 1.68 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.4342, allocations: 0.491 MB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.4343, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.4343, allocations: 3.938 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.4344, allocations: 19.8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.4347, allocations: 51.88 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.4349, allocations: 87.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.435, allocations: 28.16 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.4352, allocations: 39.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.4353, allocations: 43.83 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.4353, allocations: 8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.4354, allocations: 8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.4354, allocations: 15.92 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.4354, allocations: 31.86 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.4356, allocations: 87.62 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4356, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4356, allocations: 4 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4356, allocations: 4 kB / 1.33 GB, free: 14.44 MB / 1.029 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.0006089/0.4363, allocations: 325.9 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4363, allocations: 11.97 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.4365, allocations: 24.88 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.4368, allocations: 142.3 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.4369, allocations: 4.375 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.4369, allocations: 8.375 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.4371, allocations: 117.3 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4371, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4372, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4372, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.4373, allocations: 43.97 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.4378, allocations: 264.3 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.438, allocations: 50.55 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/0.438, allocations: 28.94 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4381, allocations: 4 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4381, allocations: 30.56 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4381, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003623/0.4385, allocations: 101.6 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.4385, allocations: 89.09 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4387, allocations: 131.9 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.4387, allocations: 29.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.4388, allocations: 100 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.4388, allocations: 15.89 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.4388, allocations: 17.72 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.439, allocations: 326.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.4391, allocations: 19.98 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.4392, allocations: 67.41 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.4393, allocations: 52.86 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4393, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002066/0.4395, allocations: 85.56 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4395, allocations: 11.98 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4395, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4396, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4397, allocations: 8 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4397, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.4398, allocations: 15.98 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4398, allocations: 3.938 kB / 1.332 GB, free: 12.14 MB / 1.029 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.0001177/0.4399, allocations: 126.3 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.4399, allocations: 8.141 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.44, allocations: 12.34 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.44, allocations: 3.984 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.44, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.44, allocations: 7.891 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.44, allocations: 7.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.4401, allocations: 15.92 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.4402, allocations: 15.97 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002796/0.4405, allocations: 156.9 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003008/0.4408, allocations: 254.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.212e-05/0.4409, allocations: 31.91 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.4409, allocations: 104.9 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of Backend: time 5.61e-07/0.4409, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004901/0.4414, allocations: 116.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006765/0.4421, allocations: 0.614 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of Templates: time 0.004605/0.4467, allocations: 1.249 MB / 1.334 GB, free: 9.363 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.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: 9.43080875799933]