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.001455/0.001455, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001457/0.001457, allocations: 185 kB / 24.09 MB, free: 416 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.9926/0.9926, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.93/1.93, allocations: 377.9 MB / 0.624 GB, free: 8.426 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 2.004e-06/2.004e-06, allocations: 0 / 0.8121 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.562e-05, allocations: 6.25 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001896/0.001922, allocations: 0.7194 MB / 0.8128 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.002857, allocations: 0.8519 MB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.002903, allocations: 0 / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.002933, allocations: 4.625 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.003007, allocations: 8.75 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.00311, allocations: 15.98 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.003183, allocations: 40.69 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.003271, allocations: 8 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.015e-05/0.003361, allocations: 33.58 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.003401, allocations: 11.98 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.00342, allocations: 4 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.003431, allocations: 4 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.003449, allocations: 7.938 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.00347, allocations: 13.52 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.364e-05/0.003554, allocations: 35.83 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003556, allocations: 0 / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.12e-07/0.003557, allocations: 0 / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.00356, allocations: 0.5 kB / 0.8138 GB, free: 15.65 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.0003177/0.003878, allocations: 373.2 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.003915, allocations: 9.625 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.003941, allocations: 8.891 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.481e-05/0.004026, allocations: 124.5 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-06/0.004034, allocations: 384 / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.004042, allocations: 4.375 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.004153, allocations: 67.64 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004159, allocations: 0.7188 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.004165, allocations: 2 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.00417, allocations: 384 / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.00419, allocations: 7.938 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.004441, allocations: 244.3 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.004503, allocations: 35.64 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.004522, allocations: 16.45 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.004542, allocations: 0 / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.004564, allocations: 38.14 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.004565, allocations: 0 / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001241/0.00469, allocations: 50.59 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.004719, allocations: 51.41 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.004819, allocations: 169.9 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.004835, allocations: 27.08 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.00489, allocations: 134.8 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.00491, allocations: 7.953 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.004944, allocations: 17.12 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.005088, allocations: 0.4962 MB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.005103, allocations: 3.938 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.005116, allocations: 4 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.005149, allocations: 15.95 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00515, allocations: 0.9062 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.306e-05/0.005233, allocations: 49.58 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.005246, allocations: 6.938 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.00525, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.005264, allocations: 3.938 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.005339, allocations: 15.98 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.005342, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.005375, allocations: 7.984 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.005384, allocations: 4 kB / 0.8157 GB, free: 13.5 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 7.176e-05/0.005455, allocations: 154 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.005477, allocations: 4 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.425e-05/0.005571, allocations: 49.62 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.005575, allocations: 3.938 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005577, allocations: 0.625 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.005581, allocations: 4.547 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.0057, allocations: 109.2 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.005702, allocations: 4.562 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.005738, allocations: 12.64 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005739, allocations: 0 / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.005743, allocations: 1.281 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005744, allocations: 0 / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005745, allocations: 0 / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.005853, allocations: 202.4 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.005859, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.005868, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.005922, allocations: 7.984 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.005954, allocations: 11.88 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.005959, allocations: 3.984 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.006002, allocations: 127.5 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006002, allocations: 0.5312 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002017/0.006204, allocations: 12.81 kB / 0.8164 GB, free: 12.75 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 8.215e-05/0.006286, allocations: 92.19 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.782e-05/0.006354, allocations: 19.67 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.006355, allocations: 5.156 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.006379, allocations: 15.69 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.006605, allocations: 12.77 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.006842, allocations: 128.5 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.73e-05/0.00688, allocations: 63.28 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.0069, allocations: 0 / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.006958, allocations: 78.2 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of SimCode: time 6.22e-07/0.006959, allocations: 1.031 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.008346/0.0153, allocations: 0.7904 MB / 0.8176 GB, free: 11.52 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.145259935874492]