Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.001596/0.001596, allocations: 109 kB / 16.42 MB, free: 6.434 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.001772/0.001773, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.464/2.464, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.004639/1.057, allocations: 1.669 MB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001411/1.058, allocations: 462.9 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/1.058, allocations: 0 / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.37e-05/1.058, allocations: 3.938 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/1.059, allocations: 19.8 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/1.059, allocations: 35.89 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/1.059, allocations: 79.72 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/1.059, allocations: 27.98 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/1.06, allocations: 31.86 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/1.06, allocations: 35.83 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/1.06, allocations: 8 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.396e-05/1.06, allocations: 8 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/1.06, allocations: 23.92 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/1.06, allocations: 35.8 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/1.06, allocations: 84.19 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.06, allocations: 4 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/1.06, allocations: 0 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.06, allocations: 0 / 1.17 GB, free: 1.316 MB / 0.8887 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.0008266/1.061, allocations: 391 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.061, allocations: 8.922 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/1.061, allocations: 16.88 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/1.061, allocations: 176.3 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/1.061, allocations: 4.375 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/1.061, allocations: 4.375 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/1.062, allocations: 103.5 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.062, allocations: 0 / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.062, allocations: 0 / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.062, allocations: 0 / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/1.062, allocations: 55.95 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/1.063, allocations: 328.7 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/1.063, allocations: 46.56 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/1.063, allocations: 36.94 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/1.063, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/1.064, allocations: 30.56 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/1.064, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.000645/1.064, allocations: 105.6 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/1.064, allocations: 81.11 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/1.065, allocations: 132.6 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/1.065, allocations: 29.7 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/1.065, allocations: 100 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/1.065, allocations: 11.89 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/1.065, allocations: 17.72 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002207/1.065, allocations: 326.8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/1.065, allocations: 19.98 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/1.065, allocations: 41.7 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/1.066, allocations: 52.77 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.066, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003921/1.066, allocations: 77.67 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.066, allocations: 8 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.066, allocations: 192 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/1.066, allocations: 8.016 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/1.066, allocations: 16 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.066, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/1.067, allocations: 11.94 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/1.067, allocations: 4 kB / 1.172 GB, free: 14.88 MB / 0.9044 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.0001574/1.067, allocations: 121.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/1.067, allocations: 7.953 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/1.067, allocations: 8.25 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.067, allocations: 7.938 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.067, allocations: 192 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/1.067, allocations: 88.98 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/1.067, allocations: 7.922 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/1.067, allocations: 11.98 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/1.067, allocations: 11.98 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004659/1.068, allocations: 164.9 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000583/1.069, allocations: 258.7 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001649/1.069, allocations: 27.92 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001023/1.069, allocations: 99.25 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Backend: time 9.32e-07/1.069, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007027/1.07, allocations: 111 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008631/1.07, allocations: 0.6133 MB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.00542/1.076, allocations: 1.049 MB / 1.174 GB, free: 12.21 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches