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.001048/0.001048, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001182/0.001182, allocations: 169 kB / 24.28 MB, free: 276 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.9385/0.9385, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.895/1.895, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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.334e-06/2.334e-06, allocations: 4.641 kB / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.634e-05, allocations: 3.812 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001149/0.001165, allocations: 0.7166 MB / 0.8123 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006974/0.001863, allocations: 0.8509 MB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.001895, allocations: 0.6562 kB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.001915, allocations: 0 / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/0.001972, allocations: 9.031 kB / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.111e-05/0.002053, allocations: 15.97 kB / 0.8132 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.002119, allocations: 44.45 kB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.002193, allocations: 10.39 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.002264, allocations: 31.91 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.002297, allocations: 11.98 kB / 0.8133 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.002315, allocations: 4 kB / 0.8133 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-06/0.002324, allocations: 4 kB / 0.8133 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.00234, allocations: 7.984 kB / 0.8133 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.002361, allocations: 11.94 kB / 0.8133 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.553e-05/0.002437, allocations: 32.8 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.002438, allocations: 0 / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002439, allocations: 4.969 kB / 0.8133 GB, free: 264 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.002442, allocations: 0 / 0.8133 GB, free: 264 kB / 0.7605 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.0003365/0.002779, allocations: 381.9 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.00281, allocations: 8.031 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.002844, allocations: 8.891 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.003005, allocations: 120.5 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.003013, allocations: 2.062 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.003022, allocations: 384 / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.003144, allocations: 66.94 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.00315, allocations: 192 / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.003157, allocations: 1.281 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.003164, allocations: 384 / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.003199, allocations: 16.41 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.003461, allocations: 256.4 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.453e-05/0.003536, allocations: 36.2 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.00356, allocations: 11.69 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.003577, allocations: 4 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.0036, allocations: 33.92 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.003602, allocations: 0 / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001676/0.003769, allocations: 54.19 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.003805, allocations: 52.78 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.003912, allocations: 169.9 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.003929, allocations: 29.7 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.003985, allocations: 134.8 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.00401, allocations: 13.11 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.004043, allocations: 15.38 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.004174, allocations: 0.4884 MB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.004194, allocations: 4.922 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.004208, allocations: 4 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.004245, allocations: 20.47 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.004247, allocations: 0 / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.174e-05/0.004318, allocations: 45.92 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.004332, allocations: 12.78 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004337, allocations: 0 / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.004349, allocations: 1.281 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.00443, allocations: 16.03 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.004436, allocations: 0 / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.004462, allocations: 8.828 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.004469, allocations: 3.938 kB / 0.8153 GB, free: 14.07 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.601e-05/0.004545, allocations: 161.6 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.00456, allocations: 0 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.004662, allocations: 62.95 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.004665, allocations: 0 / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.004668, allocations: 0 / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.004672, allocations: 0 / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.004785, allocations: 125.9 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.004786, allocations: 0 / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.004825, allocations: 15.98 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.004827, allocations: 3 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.004835, allocations: 0 / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.004837, allocations: 4.25 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004838, allocations: 0 / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.004948, allocations: 199.8 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.004953, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.004962, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.005002, allocations: 11.92 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.005036, allocations: 4.5 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005039, allocations: 0 / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.005078, allocations: 141.1 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005079, allocations: 0 / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001354/0.005214, allocations: 8 kB / 0.816 GB, free: 13.29 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 6.792e-05/0.005282, allocations: 92.31 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.842e-05/0.00536, allocations: 27.67 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005362, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.005385, allocations: 16.28 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.005565, allocations: 18.48 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.005818, allocations: 134.3 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.005849, allocations: 55.34 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.005868, allocations: 6.812 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.005894, allocations: 8.5 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.005894, allocations: 0 / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of Templates: time 0.00215/0.008044, allocations: 0.7346 MB / 0.817 GB, free: 12.17 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.066648907028139]