Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 120.9 kB / 16.81 MB, free: 5.754 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.001872/0.001872, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.442/1.442, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.88/2.88, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.66 kB / 1.097 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4233, allocations: 168.7 MB / 1.262 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003175/0.4265, allocations: 1.686 MB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.4273, allocations: 452 kB / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.4274, allocations: 0 / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.4274, allocations: 7.938 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.381e-05/0.4275, allocations: 15.8 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.4277, allocations: 27.97 kB / 1.264 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.4279, allocations: 87.64 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.428, allocations: 19.98 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.4281, allocations: 31.91 kB / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4282, allocations: 43.78 kB / 1.264 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.4282, allocations: 8 kB / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.4282, allocations: 8 kB / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.4283, allocations: 15.98 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.4283, allocations: 39.78 kB / 1.264 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.4285, allocations: 87.52 kB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4285, allocations: 0 / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4285, allocations: 0 / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4285, allocations: 0 / 1.264 GB, free: 10.52 MB / 0.9825 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.0006682/0.4292, allocations: 391.1 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4292, allocations: 12.03 kB / 1.265 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.4293, allocations: 8.891 kB / 1.265 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4295, allocations: 184.2 kB / 1.265 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4295, allocations: 4.375 kB / 1.265 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.4295, allocations: 4.375 kB / 1.265 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.4298, allocations: 95.62 kB / 1.265 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4298, allocations: 3.938 kB / 1.265 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4298, allocations: 0 / 1.265 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.4298, allocations: 8 kB / 1.265 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.43, allocations: 51.94 kB / 1.265 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.4305, allocations: 324.6 kB / 1.266 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.4307, allocations: 50.55 kB / 1.266 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.4308, allocations: 28.94 kB / 1.266 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.4308, allocations: 4 kB / 1.266 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4308, allocations: 30.56 kB / 1.266 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.4308, allocations: 0 / 1.266 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000359/0.4312, allocations: 105.6 kB / 1.266 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.4312, allocations: 81.11 kB / 1.266 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.4314, allocations: 130.1 kB / 1.266 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.4314, allocations: 29.7 kB / 1.266 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.4315, allocations: 100 kB / 1.266 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.4315, allocations: 19.83 kB / 1.266 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.4315, allocations: 13.72 kB / 1.266 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4317, allocations: 326.8 kB / 1.266 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.4318, allocations: 23.98 kB / 1.266 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.4319, allocations: 41.7 kB / 1.266 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.432, allocations: 48.77 kB / 1.267 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.432, allocations: 0 / 1.267 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000197/0.4322, allocations: 85.62 kB / 1.267 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4322, allocations: 4 kB / 1.267 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4322, allocations: 0 / 1.267 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4322, allocations: 8.031 kB / 1.267 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4323, allocations: 7.984 kB / 1.267 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4323, allocations: 192 / 1.267 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.4324, allocations: 15.98 kB / 1.267 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4324, allocations: 4 kB / 1.267 GB, free: 8.07 MB / 0.9825 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.0001052/0.4325, allocations: 118.6 kB / 1.267 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.4326, allocations: 7.953 kB / 1.267 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.4326, allocations: 20.17 kB / 1.267 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4326, allocations: 0 / 1.267 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4326, allocations: 0 / 1.267 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.4327, allocations: 85.06 kB / 1.267 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4327, allocations: 7.938 kB / 1.267 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4328, allocations: 11.98 kB / 1.267 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.4329, allocations: 7.984 kB / 1.267 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002805/0.4332, allocations: 164.9 kB / 1.267 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002963/0.4334, allocations: 246.7 kB / 1.267 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.886e-05/0.4335, allocations: 35.86 kB / 1.267 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.4336, allocations: 101.9 kB / 1.267 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of Backend: time 1.3e-07/0.4336, allocations: 0 / 1.267 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.4341, allocations: 118.8 kB / 1.268 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007004/0.4348, allocations: 0.6248 MB / 1.268 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.003987/0.4388, allocations: 1.054 MB / 1.269 GB, free: 5.395 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches