Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001272/0.001272, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001467/0.001467, allocations: 165 kB / 23.82 MB, free: 0.75 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.9541/0.9541, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.935/1.935, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.866e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002259/0.002298, allocations: 0.7245 MB / 0.8123 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.003702, allocations: 0.8547 MB / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.003767, allocations: 1.438 kB / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.003816, allocations: 0 / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.003933, allocations: 11.88 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.004123, allocations: 12.62 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.004253, allocations: 47.91 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.004399, allocations: 1.25 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.004589, allocations: 31.98 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.004666, allocations: 15.98 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.004703, allocations: 6.438 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.004721, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.004746, allocations: 7.938 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.004785, allocations: 15.89 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.004913, allocations: 27.84 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.004917, allocations: 3.938 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.084e-06/0.004919, allocations: 4 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.004924, allocations: 1.156 kB / 0.8133 GB, free: 15.89 MB / 0.7761 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.0004931/0.005417, allocations: 372.6 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.005468, allocations: 12.91 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.005514, allocations: 4.891 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.005628, allocations: 117 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.00565, allocations: 9.172 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.005667, allocations: 384 / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.005877, allocations: 64.06 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.005889, allocations: 4.188 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.005902, allocations: 384 / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.005912, allocations: 1.906 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.047e-05/0.005962, allocations: 15.88 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.006358, allocations: 255.8 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.006464, allocations: 40.98 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.006498, allocations: 11.69 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.006523, allocations: 0 / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.006552, allocations: 33.39 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.006553, allocations: 4 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002306/0.006784, allocations: 55.16 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.006819, allocations: 51.41 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.006926, allocations: 165.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.006941, allocations: 29.7 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.007007, allocations: 135.9 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.007037, allocations: 11.94 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.007079, allocations: 19.38 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.007231, allocations: 0.4889 MB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.007256, allocations: 4 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.007277, allocations: 4.516 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.007331, allocations: 20.56 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007333, allocations: 0 / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001018/0.007435, allocations: 49.92 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.007454, allocations: 8.688 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007458, allocations: 0 / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.007477, allocations: 0.5312 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.00759, allocations: 9.422 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.007595, allocations: 0 / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.007636, allocations: 15.97 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.007648, allocations: 0.9062 kB / 0.8153 GB, free: 13.71 MB / 0.7761 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 9.13e-05/0.00774, allocations: 156.6 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.007766, allocations: 4.844 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.00792, allocations: 57.55 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.007924, allocations: 5.281 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.00793, allocations: 4 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.007935, allocations: 0 / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.008102, allocations: 120.6 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.008105, allocations: 0.7812 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.008193, allocations: 16.86 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.008199, allocations: 4 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.008212, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.008217, allocations: 5.5 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.00822, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.008427, allocations: 195.8 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.008441, allocations: 4 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.008456, allocations: 1.125 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.008539, allocations: 11.92 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.00861, allocations: 0 / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.00862, allocations: 7.219 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004424/0.009062, allocations: 135.5 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.01e-07/0.009062, allocations: 0 / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002681/0.00933, allocations: 8 kB / 0.816 GB, free: 12.93 MB / 0.7761 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.0001485/0.009479, allocations: 91.25 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.009627, allocations: 27.61 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.009629, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.009656, allocations: 20.12 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.009909, allocations: 9.047 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.01034, allocations: 131.4 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.623e-05/0.0104, allocations: 64.62 kB / 0.8163 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.01042, allocations: 0 / 0.8163 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.01046, allocations: 12.5 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.01046, allocations: 1.094 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.002565/0.01303, allocations: 0.7312 MB / 0.817 GB, free: 11.81 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.376699659973383]