Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.001531/0.001531, 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.001762/0.001762, 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 1.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.866/1.866, 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.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.785e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001744/0.001772, allocations: 0.6882 MB / 0.8123 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002799, allocations: 0.8437 MB / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.002838, allocations: 5.25 kB / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.002869, allocations: 3.938 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.002933, allocations: 0 / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.003078, allocations: 5.453 kB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.00316, allocations: 31.86 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.003264, allocations: 7.984 kB / 0.8131 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.003354, allocations: 11.98 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.003395, allocations: 9.156 kB / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.003419, allocations: 0 / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.003427, allocations: 4 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.003447, allocations: 8.828 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.00347, allocations: 4 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.163e-05/0.003561, allocations: 19.92 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003563, allocations: 0.875 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003564, allocations: 3.938 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.003568, allocations: 0.875 kB / 0.8132 GB, free: 348 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004265/0.003995, allocations: 356.7 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.004042, allocations: 9.281 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.004084, allocations: 4.938 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.004187, allocations: 112.6 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.004198, allocations: 2.094 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.004208, allocations: 4.375 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.004342, allocations: 50.89 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.004351, allocations: 4.188 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.004366, allocations: 5.625 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.004374, allocations: 384 / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.004409, allocations: 7.938 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.004724, allocations: 247.8 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.004783, allocations: 32.16 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.004809, allocations: 11.62 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.004827, allocations: 1.812 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.004854, allocations: 37.45 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.004855, allocations: 0 / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001682/0.005023, allocations: 49.58 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.005057, allocations: 52.94 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.005147, allocations: 157.9 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.005159, allocations: 29.7 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.00521, allocations: 130.9 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.005229, allocations: 5.359 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.005263, allocations: 19.38 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.005405, allocations: 496.1 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.005423, allocations: 3.938 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.005437, allocations: 8.547 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.00547, allocations: 12.34 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005472, allocations: 1.938 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.335e-05/0.005545, allocations: 37.7 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.005559, allocations: 4 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.005566, allocations: 7.938 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.005579, allocations: 0.625 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.005653, allocations: 7.984 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.005657, allocations: 4.656 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.005682, allocations: 9.156 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.005686, allocations: 0 / 0.815 GB, free: 14.26 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 (2): * Single equations (assignments): 2 * 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.013e-05/0.005756, allocations: 152.6 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.005782, allocations: 4.594 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.005809, allocations: 11.25 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.005812, allocations: 5.297 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.005815, allocations: 0 / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.005819, allocations: 3.984 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.005946, allocations: 113.5 kB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005947, allocations: 0 / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.005978, allocations: 8.516 kB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.005981, allocations: 4.812 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.005988, allocations: 0 / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.00599, allocations: 3.938 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005991, allocations: 0.9375 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.006121, allocations: 199.8 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.006127, allocations: 1.344 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.006138, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.006198, allocations: 7.938 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.006236, allocations: 4.875 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.006241, allocations: 3.984 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.006286, allocations: 125.3 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.006286, allocations: 0 / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002472/0.006533, allocations: 4 kB / 0.8157 GB, free: 13.56 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 (2): * Single equations (assignments): 2 * 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.0001015/0.006634, allocations: 91.25 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.006735, allocations: 20.25 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.006737, allocations: 3.438 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.006761, allocations: 15.67 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.007053, allocations: 7.938 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.007348, allocations: 106.5 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.007392, allocations: 55.36 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.00741, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.007437, allocations: 9 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.007438, allocations: 0.5 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.002438/0.009875, allocations: 495.4 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.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.192087844014168]