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.001476/0.001476, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001456/0.001456, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.828/2.828, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 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.002166/0.002166, allocations: 63.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9109/0.9131, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002454/0.9155, allocations: 1.684 MB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.9163, allocations: 493.1 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.9164, allocations: 6.5 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.9164, allocations: 7.406 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.9165, allocations: 18.45 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.9167, allocations: 45.69 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.9168, allocations: 81.34 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.9169, allocations: 24.06 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.917, allocations: 45.28 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.9171, allocations: 38.67 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.9171, allocations: 12.8 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.216e-05/0.9171, allocations: 12.72 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.9172, allocations: 15.12 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.9172, allocations: 28.05 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.9173, allocations: 89.84 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.9173, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9173, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9173, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 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.0004414/0.9178, allocations: 340.7 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.9178, allocations: 9.938 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.918, allocations: 22.16 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.9182, allocations: 142 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.9182, allocations: 3.219 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.9182, allocations: 3.281 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.9184, allocations: 124 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.9184, allocations: 0 / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.9184, allocations: 0 / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.9184, allocations: 2.781 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.9186, allocations: 49.47 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.9189, allocations: 258.1 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.9191, allocations: 57.27 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.9191, allocations: 31.73 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.9192, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.9192, allocations: 33.44 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.9192, allocations: 0 / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003257/0.9195, allocations: 103.3 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.9195, allocations: 83.44 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.9196, allocations: 131.6 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.9196, allocations: 32.58 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.9197, allocations: 102.5 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.9197, allocations: 14.88 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.9197, allocations: 19.94 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.9198, allocations: 324.8 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.9198, allocations: 20.73 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.9199, allocations: 66.42 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.9201, allocations: 51.27 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9201, allocations: 3.938 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001702/0.9202, allocations: 91.31 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.9202, allocations: 5.875 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9202, allocations: 3.984 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9203, allocations: 2.938 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.9203, allocations: 13.22 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.9203, allocations: 0 / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.9204, allocations: 11.52 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.9204, allocations: 0 / 1.158 GB, free: 29.83 MB / 1.076 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 5.637e-05/0.9205, allocations: 123.9 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.9205, allocations: 6.891 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.9205, allocations: 14.56 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.9205, allocations: 0 / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.9206, allocations: 192 / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.9206, allocations: 0 / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.9207, allocations: 133.4 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9207, allocations: 2.562 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.9207, allocations: 9.25 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.9207, allocations: 4 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.9207, allocations: 7.188 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9207, allocations: 6.969 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9208, allocations: 0 / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.9209, allocations: 177.6 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.9209, allocations: 6.547 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.921, allocations: 3.422 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.9211, allocations: 15.27 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.9211, allocations: 6.109 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.9211, allocations: 2.625 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.9212, allocations: 111.2 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9212, allocations: 0 / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002299/0.9214, allocations: 11.5 kB / 1.159 GB, free: 29.29 MB / 1.076 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 6.814e-05/0.9215, allocations: 101 kB / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.9217, allocations: 58.77 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9217, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.9217, allocations: 27.95 kB / 1.159 GB, free: 29.17 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.922, allocations: 14.72 kB / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.9223, allocations: 185.2 kB / 1.159 GB, free: 29.01 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.628e-05/0.9223, allocations: 79.33 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.9224, allocations: 5.031 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.9224, allocations: 22.94 kB / 1.16 GB, free: 28.92 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.9224, allocations: 4 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of Templates: time 0.003132/0.9255, allocations: 0.9057 MB / 1.16 GB, free: 28.8 MB / 1.076 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 -s ida -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: 8.663405254017562]