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.001244/0.001244, allocations: 93.06 kB / 19.65 MB, free: 276 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.001363/0.001363, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9211/0.9211, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.011/2.011, allocations: 429.5 MB / 0.6733 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.38e-05, allocations: 7.656 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002069/0.002083, allocations: 1.875 MB / 0.88 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003333, allocations: 1.106 MB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003437, allocations: 0.875 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.003826, allocations: 135.4 kB / 0.8812 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.004203, allocations: 205.3 kB / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.004521, allocations: 224.5 kB / 0.8816 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.004768, allocations: 267.4 kB / 0.8819 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.004879, allocations: 40.5 kB / 0.8819 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.005482, allocations: 214.9 kB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.005639, allocations: 163.3 kB / 0.8823 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.005667, allocations: 16 kB / 0.8823 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.572e-05/0.005753, allocations: 47.94 kB / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.119e-05/0.005824, allocations: 91.69 kB / 0.8824 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.005879, allocations: 63.77 kB / 0.8825 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.006154, allocations: 227.1 kB / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006156, allocations: 0 / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.006157, allocations: 0 / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.006161, allocations: 0 / 0.8827 GB, free: 1.633 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.0005882/0.006749, allocations: 0.6624 MB / 0.8834 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.006783, allocations: 8.656 kB / 0.8834 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.006914, allocations: 45.28 kB / 0.8834 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.007281, allocations: 350.1 kB / 0.8838 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.007292, allocations: 8.312 kB / 0.8838 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.007303, allocations: 9.375 kB / 0.8838 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.007414, allocations: 66.88 kB / 0.8838 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.007422, allocations: 3.938 kB / 0.8838 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.007432, allocations: 9.531 kB / 0.8838 GB, free: 428 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.007439, allocations: 0 / 0.8838 GB, free: 428 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.007479, allocations: 15.98 kB / 0.8839 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.007879, allocations: 428.3 kB / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.961e-05/0.007958, allocations: 43.05 kB / 0.8843 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.007982, allocations: 12.62 kB / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.008006, allocations: 0 / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.008029, allocations: 45.31 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.00803, allocations: 0 / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001739/0.008204, allocations: 77.45 kB / 0.8844 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.008233, allocations: 55.41 kB / 0.8845 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.008624, allocations: 454.7 kB / 0.8849 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.008633, allocations: 25.7 kB / 0.885 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.008744, allocations: 234.8 kB / 0.8852 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.008764, allocations: 15.84 kB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.008793, allocations: 19.38 kB / 0.8852 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.008946, allocations: 0.5313 MB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.008971, allocations: 0 / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.008987, allocations: 12.05 kB / 0.8857 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.009032, allocations: 27.61 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.009033, allocations: 0 / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.267e-05/0.009116, allocations: 73.5 kB / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.009126, allocations: 4 kB / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.00913, allocations: 0 / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.009144, allocations: 0 / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.009202, allocations: 8.328 kB / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.009207, allocations: 0 / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.009238, allocations: 0 / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.009245, allocations: 3.938 kB / 0.8859 GB, free: 14.23 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 8.694e-05/0.009332, allocations: 168.5 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.009384, allocations: 35.77 kB / 0.886 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.009496, allocations: 72.42 kB / 0.8861 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009498, allocations: 4 kB / 0.8861 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.009501, allocations: 3.984 kB / 0.8861 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.009504, allocations: 0 / 0.8861 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.00975, allocations: 244.5 kB / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009751, allocations: 0 / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.009776, allocations: 4 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.009778, allocations: 0 / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.009784, allocations: 4 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.009785, allocations: 4 kB / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009786, allocations: 0 / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.009903, allocations: 227.6 kB / 0.8866 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.009941, allocations: 39.8 kB / 0.8866 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.009959, allocations: 4 kB / 0.8866 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.181e-05/0.01, allocations: 0 / 0.8866 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.01003, allocations: 3.984 kB / 0.8866 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.01003, allocations: 4 kB / 0.8866 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002041/0.01023, allocations: 303.1 kB / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01023, allocations: 0 / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001696/0.0104, allocations: 39.88 kB / 0.887 GB, free: 13.02 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.0006953/0.0111, allocations: 347.7 kB / 0.8873 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.01119, allocations: 27.55 kB / 0.8873 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01119, allocations: 0 / 0.8873 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.01121, allocations: 19.67 kB / 0.8873 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01146, allocations: 42.19 kB / 0.8874 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.01211, allocations: 444.3 kB / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.01217, allocations: 100.3 kB / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.192e-05/0.01223, allocations: 39.25 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.01228, allocations: 24.5 kB / 0.888 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.01228, allocations: 0 / 0.888 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.004469/0.01675, allocations: 2.815 MB / 0.8907 GB, free: 9.297 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0531339892186224]