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.001113/0.001113, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001176/0.001176, allocations: 169 kB / 23.27 MB, free: 1.223 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.9525/0.9525, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.433/2.433, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.422e-06/1.422e-06, allocations: 0 / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.672e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002947/0.002973, allocations: 1.833 MB / 0.8916 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.00431, allocations: 1.099 MB / 0.8926 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.004415, allocations: 3.938 kB / 0.8926 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.004785, allocations: 139.4 kB / 0.8928 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.005191, allocations: 203.1 kB / 0.893 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.005643, allocations: 227.4 kB / 0.8932 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.006004, allocations: 267.4 kB / 0.8934 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.006159, allocations: 36.56 kB / 0.8935 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008784/0.007037, allocations: 224.4 kB / 0.8937 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.007278, allocations: 151.7 kB / 0.8938 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.007313, allocations: 16 kB / 0.8938 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.00744, allocations: 51.92 kB / 0.8939 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.007539, allocations: 95.69 kB / 0.894 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.007599, allocations: 59.78 kB / 0.894 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.007948, allocations: 231 kB / 0.8943 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007953, allocations: 0 / 0.8943 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.933e-06/0.007955, allocations: 0 / 0.8943 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.00796, allocations: 0 / 0.8943 GB, free: 5.168 MB / 0.8542 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.00068/0.00864, allocations: 0.6507 MB / 0.8949 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.008691, allocations: 16.62 kB / 0.8949 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.008852, allocations: 48.69 kB / 0.895 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.009205, allocations: 337.4 kB / 0.8953 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.009216, allocations: 8.375 kB / 0.8953 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.009224, allocations: 4.375 kB / 0.8953 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.009333, allocations: 66.88 kB / 0.8954 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.009341, allocations: 3.938 kB / 0.8954 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.00935, allocations: 4 kB / 0.8954 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.009357, allocations: 7.984 kB / 0.8954 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.009383, allocations: 8 kB / 0.8954 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.009742, allocations: 379.9 kB / 0.8957 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.616e-05/0.009808, allocations: 39 kB / 0.8958 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.009824, allocations: 11.69 kB / 0.8958 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.009849, allocations: 15.98 kB / 0.8958 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.009868, allocations: 33.39 kB / 0.8958 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.00987, allocations: 0 / 0.8958 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.000141/0.01001, allocations: 69.69 kB / 0.8959 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.01004, allocations: 51.41 kB / 0.8959 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.01037, allocations: 442.5 kB / 0.8964 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.01038, allocations: 25.7 kB / 0.8964 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.01051, allocations: 246.7 kB / 0.8966 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.01053, allocations: 23.77 kB / 0.8967 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.01056, allocations: 19.38 kB / 0.8967 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.01076, allocations: 0.5351 MB / 0.8972 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.01078, allocations: 4 kB / 0.8972 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.0108, allocations: 7.984 kB / 0.8972 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.01083, allocations: 15.67 kB / 0.8972 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01083, allocations: 4 kB / 0.8972 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.09e-05/0.01092, allocations: 69.5 kB / 0.8973 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01094, allocations: 8 kB / 0.8973 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01094, allocations: 4 kB / 0.8973 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.01095, allocations: 112 / 0.8973 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.01102, allocations: 15.86 kB / 0.8973 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.01102, allocations: 0 / 0.8973 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.01106, allocations: 7.953 kB / 0.8973 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.01106, allocations: 0 / 0.8973 GB, free: 1.824 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.453e-05/0.01115, allocations: 156.5 kB / 0.8975 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.01118, allocations: 31.81 kB / 0.8975 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.01131, allocations: 76.42 kB / 0.8976 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01131, allocations: 0 / 0.8976 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01131, allocations: 4 kB / 0.8976 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.01131, allocations: 0 / 0.8976 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.01149, allocations: 185.1 kB / 0.8978 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01149, allocations: 0 / 0.8978 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.01153, allocations: 4 kB / 0.8978 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01153, allocations: 0 / 0.8978 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-06/0.01153, allocations: 3.938 kB / 0.8978 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01154, allocations: 7.984 kB / 0.8978 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01154, allocations: 0 / 0.8978 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.01167, allocations: 223.6 kB / 0.898 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.01171, allocations: 31.8 kB / 0.898 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.01172, allocations: 8 kB / 0.898 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.01177, allocations: 4 kB / 0.898 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.0118, allocations: 3.984 kB / 0.898 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.0118, allocations: 0 / 0.898 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001773/0.01198, allocations: 287 kB / 0.8983 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01198, allocations: 0 / 0.8983 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001704/0.01215, allocations: 27.89 kB / 0.8983 GB, free: 0.7266 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.0007056/0.01285, allocations: 341.2 kB / 0.8987 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.154e-05/0.01291, allocations: 23.61 kB / 0.8987 GB, free: 488 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01292, allocations: 0 / 0.8987 GB, free: 488 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.01293, allocations: 19.67 kB / 0.8987 GB, free: 464 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01319, allocations: 43.81 kB / 0.8987 GB, free: 424 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.01387, allocations: 448.4 kB / 0.8992 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.251e-05/0.01393, allocations: 100.3 kB / 0.8993 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.651e-05/0.014, allocations: 35.27 kB / 0.8993 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.01409, allocations: 110.2 kB / 0.8994 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of SimCode: time 7.12e-07/0.01409, allocations: 0 / 0.8994 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of Templates: time 0.005162/0.01925, allocations: 2.857 MB / 0.9022 GB, free: 12.9 MB / 0.8698 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.43931593792513]