Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.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.001352/0.001352, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001279/0.001279, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9426/0.9426, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.744/1.744, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.941e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002312/0.002331, allocations: 1.835 MB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003587, allocations: 1.114 MB / 0.79 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.003673, allocations: 7.938 kB / 0.79 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.004022, allocations: 132.7 kB / 0.7901 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.004335, allocations: 199.8 kB / 0.7903 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.004608, allocations: 225 kB / 0.7905 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.004839, allocations: 271.3 kB / 0.7908 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.004958, allocations: 40.09 kB / 0.7908 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.005137, allocations: 143.6 kB / 0.7909 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.005293, allocations: 151.7 kB / 0.7911 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.005323, allocations: 20 kB / 0.7911 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.005407, allocations: 59.91 kB / 0.7912 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.00549, allocations: 87.7 kB / 0.7912 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.00555, allocations: 71.7 kB / 0.7913 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.005802, allocations: 215.1 kB / 0.7915 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005805, allocations: 0 / 0.7915 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.005805, allocations: 0 / 0.7915 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.005811, allocations: 4.656 kB / 0.7915 GB, free: 8.289 MB / 0.7448 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.0005958/0.006406, allocations: 0.6563 MB / 0.7922 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.006439, allocations: 12.03 kB / 0.7922 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.006572, allocations: 48.69 kB / 0.7922 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.006893, allocations: 318.8 kB / 0.7925 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.006908, allocations: 13.19 kB / 0.7925 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.006918, allocations: 4.375 kB / 0.7925 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.007025, allocations: 67.78 kB / 0.7926 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.007032, allocations: 3.938 kB / 0.7926 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.007042, allocations: 5.031 kB / 0.7926 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.007049, allocations: 7.984 kB / 0.7926 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.021e-05/0.007089, allocations: 8 kB / 0.7926 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.007721, allocations: 440.8 kB / 0.7931 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.00779, allocations: 39.11 kB / 0.7931 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.00781, allocations: 11.69 kB / 0.7931 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.007829, allocations: 4.781 kB / 0.7931 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.007847, allocations: 37.33 kB / 0.7931 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.007848, allocations: 1.156 kB / 0.7931 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001534/0.008001, allocations: 73.5 kB / 0.7932 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.008031, allocations: 59.39 kB / 0.7933 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.008368, allocations: 463.6 kB / 0.7937 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.008378, allocations: 25.7 kB / 0.7937 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.008488, allocations: 240.4 kB / 0.794 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.008505, allocations: 3.953 kB / 0.794 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.008533, allocations: 23.38 kB / 0.794 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.008669, allocations: 0.5274 MB / 0.7945 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.008683, allocations: 4 kB / 0.7945 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.008695, allocations: 8.562 kB / 0.7945 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.008725, allocations: 20.36 kB / 0.7945 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008726, allocations: 0 / 0.7945 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.466e-05/0.008801, allocations: 70.38 kB / 0.7946 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.008814, allocations: 12.09 kB / 0.7946 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.008817, allocations: 5 kB / 0.7946 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.008835, allocations: 4.031 kB / 0.7946 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.008889, allocations: 4.531 kB / 0.7946 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008893, allocations: 0 / 0.7946 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.008925, allocations: 5.312 kB / 0.7946 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.00893, allocations: 3.938 kB / 0.7946 GB, free: 4.902 MB / 0.7448 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 6.904e-05/0.008999, allocations: 164.5 kB / 0.7948 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.009032, allocations: 36.89 kB / 0.7948 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.009136, allocations: 72.44 kB / 0.7949 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.009137, allocations: 0 / 0.7949 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.00914, allocations: 0.5 kB / 0.7949 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.009144, allocations: 8.797 kB / 0.7949 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.009325, allocations: 244.5 kB / 0.7951 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.009326, allocations: 0.9375 kB / 0.7951 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.009345, allocations: 4 kB / 0.7951 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.009346, allocations: 0 / 0.7951 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.009353, allocations: 5.219 kB / 0.7952 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.009354, allocations: 0 / 0.7952 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.009355, allocations: 3.984 kB / 0.7952 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.009458, allocations: 232.5 kB / 0.7954 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.009497, allocations: 43.7 kB / 0.7954 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.009515, allocations: 2.219 kB / 0.7954 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.009559, allocations: 7.984 kB / 0.7954 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.009584, allocations: 0 / 0.7954 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.009586, allocations: 0 / 0.7954 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002115/0.009798, allocations: 315 kB / 0.7957 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009798, allocations: 0 / 0.7957 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001711/0.009969, allocations: 22.94 kB / 0.7958 GB, free: 3.699 MB / 0.7448 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.0006378/0.01061, allocations: 342.6 kB / 0.7961 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.01068, allocations: 23.56 kB / 0.7961 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01069, allocations: 3.719 kB / 0.7961 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.777e-05/0.0107, allocations: 19.61 kB / 0.7961 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01096, allocations: 48.81 kB / 0.7962 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.01158, allocations: 448.1 kB / 0.7966 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.01164, allocations: 100.3 kB / 0.7967 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.152e-05/0.0117, allocations: 36.2 kB / 0.7967 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.01175, allocations: 25.53 kB / 0.7968 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01175, allocations: 0 / 0.7968 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.00446/0.01621, allocations: 2.699 MB / 0.7994 GB, free: 84 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_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: 4.885802160017192]