Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001702/0.001702, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002192/0.002192, allocations: 212.7 kB / 22.25 MB, free: 5.262 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 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.236/3.236, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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.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_latest_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.002037/0.002037, allocations: 70.34 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003063/0.3776, allocations: 1.686 MB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009259/0.3785, allocations: 491.9 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.3786, allocations: 7.938 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.3786, allocations: 3.938 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.35e-05/0.3787, allocations: 15.8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.379, allocations: 51.88 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3791, allocations: 91.72 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3792, allocations: 16.16 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.3793, allocations: 55.77 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.3794, allocations: 27.86 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.3794, allocations: 8 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.432e-05/0.3795, allocations: 11.98 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.3795, allocations: 19.92 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.3796, allocations: 27.86 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3797, allocations: 91.62 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3797, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3797, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3797, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 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.0005648/0.3803, allocations: 318 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3803, allocations: 15.97 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.3806, allocations: 28.86 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.3808, allocations: 134.3 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3808, allocations: 8.375 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3808, allocations: 8.375 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3811, allocations: 113.4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3811, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3811, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3811, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3813, allocations: 59.89 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.3817, allocations: 256.4 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.3819, allocations: 54.59 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.382, allocations: 32.88 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.382, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.382, allocations: 30.56 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.382, allocations: 4 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003562/0.3824, allocations: 105.5 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.3824, allocations: 77.11 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3826, allocations: 143.3 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3826, allocations: 25.7 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.3827, allocations: 104 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3827, allocations: 11.95 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3827, allocations: 21.7 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3829, allocations: 318.8 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.383, allocations: 23.98 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3831, allocations: 63.39 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3832, allocations: 48.88 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3832, allocations: 4 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002067/0.3834, allocations: 89.55 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3834, allocations: 4 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3834, allocations: 0 / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3835, allocations: 4 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.3835, allocations: 7.984 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3836, allocations: 3.984 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/0.3836, allocations: 19.94 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3836, allocations: 3.938 kB / 1.368 GB, free: 8.672 MB / 1.061 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.0001078/0.3838, allocations: 126.4 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.3838, allocations: 7.953 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.3838, allocations: 8.531 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3838, allocations: 3.984 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3838, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3838, allocations: 7.984 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.384, allocations: 125.4 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.384, allocations: 7.984 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.3841, allocations: 12 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3841, allocations: 0 / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.3841, allocations: 7.984 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3841, allocations: 3.938 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3841, allocations: 3.938 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.3843, allocations: 179.4 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.3843, allocations: 7.953 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.3844, allocations: 0 / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3845, allocations: 15.98 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.3845, allocations: 11.98 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3845, allocations: 0 / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.3846, allocations: 109.4 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3846, allocations: 0 / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002208/0.3848, allocations: 12 kB / 1.369 GB, free: 7.969 MB / 1.061 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.0001216/0.385, allocations: 95.25 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.3852, allocations: 55.84 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3852, allocations: 4 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.3853, allocations: 27.98 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.3855, allocations: 9.703 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.3859, allocations: 180.1 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.386, allocations: 75.89 kB / 1.369 GB, free: 7.477 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.386, allocations: 4 kB / 1.369 GB, free: 7.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.3861, allocations: 15.42 kB / 1.369 GB, free: 7.457 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3861, allocations: 0 / 1.369 GB, free: 7.457 MB / 1.061 GB Notification: Performance of Templates: time 0.003681/0.3897, allocations: 0.9797 MB / 1.37 GB, free: 6.508 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.81451371498406]