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.001335/0.001335, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002224/0.002224, allocations: 158.2 kB / 23.01 MB, free: 4.598 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.815/2.815, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 177] 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.003125/0.003125, allocations: 67.83 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8915/0.8946, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.00243/0.897, allocations: 1.695 MB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.8978, allocations: 496.6 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.8979, allocations: 1.281 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.8979, allocations: 9.844 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.898, allocations: 16.12 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.8982, allocations: 55.42 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.8983, allocations: 87.11 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.8984, allocations: 18.69 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.8985, allocations: 45.56 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.8986, allocations: 30.64 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.8986, allocations: 6.594 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.401e-05/0.8987, allocations: 10.25 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.8987, allocations: 17.2 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.8987, allocations: 43.67 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.8989, allocations: 90.42 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8989, allocations: 0 / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8989, allocations: 0 / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8989, allocations: 0.6562 kB / 1.189 GB, free: 14.48 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.0004641/0.8994, allocations: 322.4 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.8994, allocations: 10.84 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.8996, allocations: 25.73 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.8998, allocations: 138.1 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.8998, allocations: 3 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.8998, allocations: 3.062 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.9001, allocations: 123.3 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.9001, allocations: 0.75 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.9001, allocations: 1.344 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.9001, allocations: 1.312 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.9003, allocations: 47.05 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.9006, allocations: 268.8 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.9008, allocations: 46.31 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.9008, allocations: 28.8 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.9009, allocations: 9.188 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.9009, allocations: 33.48 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9009, allocations: 0 / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003259/0.9012, allocations: 101.7 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.9012, allocations: 82.83 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.9013, allocations: 135.9 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.9013, allocations: 30.83 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.9014, allocations: 106.6 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.9014, allocations: 11.45 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.9014, allocations: 20.89 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.9015, allocations: 322.3 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.9015, allocations: 25.16 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.9016, allocations: 73.25 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.9018, allocations: 43.12 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9018, allocations: 0 / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.902, allocations: 89.73 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.902, allocations: 5.031 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.902, allocations: 5.125 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.902, allocations: 0.6094 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.9021, allocations: 14.28 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.9021, allocations: 3.938 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.9022, allocations: 15.7 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.9022, allocations: 1.734 kB / 1.191 GB, free: 12.69 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 6.047e-05/0.9022, allocations: 119 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.9023, allocations: 7.391 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.9023, allocations: 12.06 kB / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.9023, allocations: 1.797 kB / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.9023, allocations: 0 / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9023, allocations: 5.312 kB / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.9024, allocations: 129.7 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9024, allocations: 1.547 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.9025, allocations: 12.92 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9025, allocations: 1.156 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.9025, allocations: 0.7969 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9025, allocations: 1.609 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9025, allocations: 3.938 kB / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.9027, allocations: 183.9 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.9027, allocations: 12.55 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.9028, allocations: 4.656 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.9029, allocations: 9.766 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.9029, allocations: 9.453 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.9029, allocations: 2.031 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.903, allocations: 103 kB / 1.192 GB, free: 12.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.903, allocations: 0 / 1.192 GB, free: 12.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002341/0.9032, allocations: 15.28 kB / 1.192 GB, free: 12.14 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 7.07e-05/0.9033, allocations: 100.4 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.9035, allocations: 55.88 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9035, allocations: 0 / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.9036, allocations: 28.02 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.9038, allocations: 14.16 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.9042, allocations: 180 kB / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.452e-05/0.9042, allocations: 83.36 kB / 1.192 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.9043, allocations: 4.062 kB / 1.192 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.9043, allocations: 13.84 kB / 1.192 GB, free: 11.79 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9043, allocations: 0 / 1.192 GB, free: 11.79 MB / 1.076 GB Notification: Performance of Templates: time 0.003515/0.9078, allocations: 0.9241 MB / 1.193 GB, free: 11.67 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.688930577947758]