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.001834/0.001834, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.002187/0.002187, allocations: 204 kB / 20.09 MB, free: 2.977 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.887/2.887, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.002148/0.002148, allocations: 71.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002529/1.118, allocations: 1.704 MB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008284/1.119, allocations: 0.5158 MB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/1.119, allocations: 2.938 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/1.119, allocations: 11.88 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/1.119, allocations: 18.36 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/1.119, allocations: 47.08 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/1.119, allocations: 88.02 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/1.119, allocations: 17.02 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/1.12, allocations: 47.67 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/1.12, allocations: 37.17 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/1.12, allocations: 8.125 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/1.12, allocations: 12.03 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/1.12, allocations: 17.81 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/1.12, allocations: 39.34 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/1.12, allocations: 97.95 kB / 1.325 GB, free: 23.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.12, allocations: 0 / 1.325 GB, free: 23.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/1.12, allocations: 0 / 1.325 GB, free: 23.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.12, allocations: 0 / 1.325 GB, free: 23.26 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.000479/1.12, allocations: 406.2 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/1.12, allocations: 19.61 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/1.121, allocations: 25.48 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/1.121, allocations: 188.3 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/1.121, allocations: 8.359 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/1.121, allocations: 3.25 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.121, allocations: 98.92 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.121, allocations: 4 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/1.121, allocations: 3.328 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.121, allocations: 2.906 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/1.121, allocations: 44 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/1.122, allocations: 325.2 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.122, allocations: 50.86 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/1.122, allocations: 29.7 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/1.122, allocations: 0 / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/1.122, allocations: 33.66 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/1.122, allocations: 3.938 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003229/1.122, allocations: 104 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/1.122, allocations: 77.11 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/1.122, allocations: 139.6 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/1.122, allocations: 29.7 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/1.122, allocations: 96.8 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/1.122, allocations: 14.44 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/1.123, allocations: 19.84 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/1.123, allocations: 321.3 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/1.123, allocations: 27.86 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/1.123, allocations: 37.39 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/1.123, allocations: 54.23 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.123, allocations: 0 / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/1.123, allocations: 94.66 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.123, allocations: 9.531 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.123, allocations: 3.984 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.123, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/1.123, allocations: 15.92 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/1.123, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/1.123, allocations: 13.27 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/1.123, allocations: 2.812 kB / 1.327 GB, free: 21.29 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 6.333e-05/1.123, allocations: 116.6 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/1.123, allocations: 13.52 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/1.123, allocations: 11.58 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.123, allocations: 2.844 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.123, allocations: 0 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.123, allocations: 3.938 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/1.124, allocations: 192.5 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.124, allocations: 2.75 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/1.124, allocations: 8.797 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.124, allocations: 0 / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.124, allocations: 2.5 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.124, allocations: 4 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.124, allocations: 0 / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/1.124, allocations: 182.3 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/1.124, allocations: 85.09 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/1.124, allocations: 2.938 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/1.124, allocations: 16.75 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/1.124, allocations: 17.02 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/1.124, allocations: 3.938 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.444e-05/1.124, allocations: 111.3 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.124, allocations: 0 / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002227/1.124, allocations: 12.77 kB / 1.327 GB, free: 20.57 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 9.65e-05/1.124, allocations: 108.3 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000208/1.125, allocations: 47.59 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.125, allocations: 4 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/1.125, allocations: 29.5 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/1.125, allocations: 8.406 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/1.125, allocations: 205.5 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/1.125, allocations: 0.6961 MB / 1.329 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/1.125, allocations: 17.56 kB / 1.329 GB, free: 19.56 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.125, allocations: 0 / 1.329 GB, free: 19.56 MB / 1.061 GB Notification: Performance of Templates: time 0.002978/1.128, allocations: 1.04 MB / 1.33 GB, free: 19.48 MB / 1.061 GB " [Timeout remaining time 299] 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: 11.74937631400826]