Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00134/0.00134, allocations: 104.2 kB / 16.41 MB, free: 6.508 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.001336/0.001336, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9203, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.00316/0.9235, allocations: 1.67 MB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00085/0.9244, allocations: 441.3 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.9245, allocations: 5.031 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.9245, allocations: 5.438 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.633e-05/0.9246, allocations: 19.88 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.9248, allocations: 31.91 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.925, allocations: 80.88 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.9252, allocations: 27.12 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.9253, allocations: 37.91 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.9254, allocations: 33.61 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.9254, allocations: 10.91 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.9255, allocations: 7.156 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.9255, allocations: 21.22 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.9256, allocations: 36.36 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.9257, allocations: 85.75 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.9257, allocations: 1.031 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.945e-06/0.9258, allocations: 0.5156 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9258, allocations: 0 / 1.091 GB, free: 3.859 MB / 0.8575 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.0005841/0.9264, allocations: 390.8 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.9264, allocations: 8.25 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.9265, allocations: 14.75 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9266, allocations: 178.3 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.9266, allocations: 3.203 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.9266, allocations: 7.281 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.9269, allocations: 90.36 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9269, allocations: 3.984 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.9269, allocations: 7.938 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.9269, allocations: 1.406 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.9271, allocations: 52.78 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.9276, allocations: 325.3 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.9278, allocations: 51.59 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.9279, allocations: 35.31 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.9279, allocations: 0 / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.9279, allocations: 31.31 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.9279, allocations: 1.344 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003593/0.9283, allocations: 105.1 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.9283, allocations: 77.11 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.9284, allocations: 136.9 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.9285, allocations: 27.06 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.9285, allocations: 98.38 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.9285, allocations: 11.55 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.9286, allocations: 19.52 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.9287, allocations: 323.8 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.9288, allocations: 25.02 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.105e-05/0.9289, allocations: 49.56 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.929, allocations: 44.12 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.929, allocations: 0 / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002065/0.9292, allocations: 92.48 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9293, allocations: 5.766 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9293, allocations: 0.6875 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.9293, allocations: 4.031 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.9294, allocations: 10.91 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9294, allocations: 0 / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.9295, allocations: 15.14 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.9296, allocations: 5.781 kB / 1.093 GB, free: 1.906 MB / 0.8575 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 8.279e-05/0.9296, allocations: 118.3 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.9297, allocations: 8.453 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.9297, allocations: 10.53 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9297, allocations: 5.609 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9297, allocations: 0 / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.9298, allocations: 83.66 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.9298, allocations: 10.66 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.9299, allocations: 10.19 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.93, allocations: 7.047 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002638/0.9303, allocations: 163.7 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002271/0.9305, allocations: 254.7 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.177e-05/0.9306, allocations: 35.81 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.9307, allocations: 104.7 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of Backend: time 4.11e-07/0.9307, allocations: 0 / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.9311, allocations: 116.5 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005056/0.9316, allocations: 0.6126 MB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of Templates: time 0.004078/0.9357, allocations: 1.029 MB / 1.096 GB, free: 440 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches