Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001031/0.001031, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000938/0.000938, allocations: 177 kB / 23.36 MB, free: 1.133 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.9428/0.9428, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.419/2.419, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.942e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002331/0.002361, allocations: 0.7131 MB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.003542, allocations: 0.8548 MB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.003584, allocations: 0 / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.003616, allocations: 7.938 kB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.034e-05/0.003706, allocations: 7.938 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.003823, allocations: 7.984 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.003922, allocations: 51.8 kB / 0.8403 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.004022, allocations: 11.97 kB / 0.8403 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.004135, allocations: 23.98 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.004189, allocations: 15.92 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.004218, allocations: 4 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.00423, allocations: 4 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.004251, allocations: 7.984 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.004279, allocations: 11.94 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.004382, allocations: 35.88 kB / 0.8404 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.004386, allocations: 4 kB / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004387, allocations: 0 / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.004392, allocations: 0 / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000384/0.004776, allocations: 252.9 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.004816, allocations: 8.625 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.004849, allocations: 4.938 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.004941, allocations: 113.7 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004953, allocations: 384 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.004965, allocations: 384 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.005117, allocations: 78.81 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.005125, allocations: 192 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005133, allocations: 384 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.005139, allocations: 4.359 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.005168, allocations: 7.938 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.005409, allocations: 156.3 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.271e-05/0.005472, allocations: 26.52 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.005495, allocations: 12.92 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.005511, allocations: 0 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.005537, allocations: 34.56 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.005538, allocations: 4 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001343/0.005672, allocations: 41.86 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.00571, allocations: 55.41 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.005781, allocations: 114.6 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.005793, allocations: 25.7 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.005831, allocations: 88.12 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.005855, allocations: 15.89 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.005889, allocations: 13.72 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.005986, allocations: 318.8 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.006001, allocations: 4 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.006015, allocations: 4.031 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.00605, allocations: 20.84 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006052, allocations: 0 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.725e-05/0.006119, allocations: 33.7 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.006134, allocations: 7.984 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006139, allocations: 4 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.006153, allocations: 7.875 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.006243, allocations: 8 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.006246, allocations: 320 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.006286, allocations: 11.98 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.006293, allocations: 0 / 0.8418 GB, free: 10.81 MB / 0.8073 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.444e-05/0.006357, allocations: 113.8 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.006382, allocations: 4 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-05/0.006482, allocations: 49.67 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.006485, allocations: 3.938 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.006487, allocations: 3.938 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006489, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.006618, allocations: 73.83 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.00662, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.006674, allocations: 11.94 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.006678, allocations: 3.984 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.006683, allocations: 4 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006685, allocations: 4 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006686, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.006791, allocations: 135.5 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.006801, allocations: 7.938 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.006813, allocations: 4 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.006881, allocations: 7.984 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.006917, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.006926, allocations: 7.938 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.817e-05/0.006944, allocations: 16.83 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.006944, allocations: 4 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002198/0.007164, allocations: 8 kB / 0.8422 GB, free: 10.3 MB / 0.8073 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.0001302/0.007294, allocations: 80.36 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.00738, allocations: 16.84 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.007383, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.479e-05/0.007407, allocations: 13.19 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.007613, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.007915, allocations: 128.5 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.007958, allocations: 59.3 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.007986, allocations: 4.094 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.008051, allocations: 63.3 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of SimCode: time 8.01e-07/0.008051, allocations: 0 / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of Templates: time 0.002841/0.01089, allocations: 0.6756 MB / 0.8432 GB, free: 9.211 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.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.22813538974151]