Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.001792/0.001792, allocations: 88.05 kB / 19.44 MB, free: 316 kB / 13.93 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.002396/0.002396, allocations: 169.3 kB / 22.76 MB, free: 1.641 MB / 18.57 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.429/3.429, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.339e-05, allocations: 4.844 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.005459/0.005492, allocations: 1.839 MB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003205/0.008698, allocations: 1.102 MB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.008874, allocations: 3.938 kB / 0.8803 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.009488, allocations: 128.7 kB / 0.8805 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000743/0.01023, allocations: 200.2 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.01102, allocations: 228 kB / 0.8809 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006166/0.01164, allocations: 273.3 kB / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.01182, allocations: 32.58 kB / 0.8812 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.01227, allocations: 143.7 kB / 0.8813 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.01264, allocations: 155.6 kB / 0.8814 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/0.01272, allocations: 20 kB / 0.8815 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.01291, allocations: 55.33 kB / 0.8815 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.01312, allocations: 99.67 kB / 0.8816 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.01326, allocations: 59.78 kB / 0.8817 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007798/0.01404, allocations: 378.7 kB / 0.882 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.01405, allocations: 4 kB / 0.882 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01405, allocations: 3.938 kB / 0.882 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.01406, allocations: 0 / 0.882 GB, free: 1.953 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001588/0.01564, allocations: 0.6855 MB / 0.8827 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.01569, allocations: 8.031 kB / 0.8827 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.01599, allocations: 53.62 kB / 0.8828 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.01692, allocations: 322.9 kB / 0.8831 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.01694, allocations: 5.5 kB / 0.8831 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.01697, allocations: 8.312 kB / 0.8831 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.01721, allocations: 62.23 kB / 0.8831 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01723, allocations: 4.969 kB / 0.8832 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.01725, allocations: 4 kB / 0.8832 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01726, allocations: 5.109 kB / 0.8832 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.01743, allocations: 35.92 kB / 0.8832 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.01862, allocations: 0.4994 MB / 0.8837 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.01881, allocations: 43.98 kB / 0.8837 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.01891, allocations: 20.34 kB / 0.8837 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.01893, allocations: 0 / 0.8837 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.01898, allocations: 41.92 kB / 0.8838 GB, free: 44 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.01898, allocations: 0.9375 kB / 0.8838 GB, free: 44 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004738/0.01946, allocations: 93.44 kB / 0.8839 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.01952, allocations: 56.12 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.02075, allocations: 0.5574 MB / 0.8845 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.02078, allocations: 26.58 kB / 0.8845 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.02118, allocations: 274.7 kB / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.02121, allocations: 13 kB / 0.8848 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.02128, allocations: 23.36 kB / 0.8848 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005298/0.02181, allocations: 0.5547 MB / 0.8853 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.02188, allocations: 17.52 kB / 0.8854 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.02193, allocations: 4 kB / 0.8854 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.02206, allocations: 35.61 kB / 0.8854 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02207, allocations: 0 / 0.8854 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002782/0.02234, allocations: 82.47 kB / 0.8855 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.02236, allocations: 4 kB / 0.8855 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.02237, allocations: 0.75 kB / 0.8855 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.02239, allocations: 0 / 0.8855 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.02249, allocations: 12.55 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.02249, allocations: 3.438 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.0226, allocations: 4 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.02262, allocations: 8.047 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0002406/0.02286, allocations: 172.5 kB / 0.8857 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.02297, allocations: 35.77 kB / 0.8857 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.0233, allocations: 88.42 kB / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.0233, allocations: 4.375 kB / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.02331, allocations: 0 / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.02331, allocations: 3.984 kB / 0.8858 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.02399, allocations: 305 kB / 0.8861 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02399, allocations: 4 kB / 0.8861 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.02406, allocations: 8 kB / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.02407, allocations: 3.984 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.02407, allocations: 0 / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02408, allocations: 0 / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02408, allocations: 0 / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.0245, allocations: 243.6 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.02466, allocations: 43.8 kB / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.0247, allocations: 0 / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.02485, allocations: 0 / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.02489, allocations: 0 / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.0249, allocations: 8 kB / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000766/0.02567, allocations: 367 kB / 0.8867 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02567, allocations: 0 / 0.8867 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005007/0.02617, allocations: 31.89 kB / 0.8868 GB, free: 12.86 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.003268/0.02944, allocations: 375.6 kB / 0.8871 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.02969, allocations: 43.55 kB / 0.8872 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02969, allocations: 0 / 0.8872 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.02978, allocations: 23.67 kB / 0.8872 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.03043, allocations: 43.81 kB / 0.8872 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.03162, allocations: 452.3 kB / 0.8877 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.03195, allocations: 182 kB / 0.8878 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.0321, allocations: 43.44 kB / 0.8879 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.0322, allocations: 28.48 kB / 0.8879 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/0.03221, allocations: 0 / 0.8879 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.01058/0.04278, allocations: 2.699 MB / 0.8905 GB, free: 9.145 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.41284496197477]