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.00115/0.00115, allocations: 82.64 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.001358/0.001358, allocations: 185 kB / 24.09 MB, free: 420 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.969/0.969, 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.967/1.967, allocations: 377.9 MB / 0.624 GB, free: 8.398 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.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 3.356e-06/3.356e-06, allocations: 0.5469 kB / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/3.075e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002283/0.002314, allocations: 0.6774 MB / 0.8127 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003461, allocations: 0.8479 MB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.003503, allocations: 0 / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.003532, allocations: 1.438 kB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.597e-05/0.003618, allocations: 7.922 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.003763, allocations: 0 / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.003836, allocations: 31.91 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.00393, allocations: 4.656 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.004024, allocations: 16.48 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.004063, allocations: 7.984 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.004083, allocations: 5.062 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.004091, allocations: 0 / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.00411, allocations: 4 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.004131, allocations: 4.688 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.769e-05/0.004219, allocations: 27.84 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.004222, allocations: 2.406 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.243e-06/0.004224, allocations: 0 / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004227, allocations: 0 / 0.8137 GB, free: 15.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000388/0.004615, allocations: 356.6 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.00466, allocations: 11.97 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.004694, allocations: 4.938 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.72e-05/0.004781, allocations: 106.2 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.004794, allocations: 8.375 kB / 0.8141 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.0048, allocations: 4.375 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.004926, allocations: 54.94 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004934, allocations: 0.7188 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.004942, allocations: 1.562 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.004948, allocations: 384 / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.004974, allocations: 11.92 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.005247, allocations: 228.9 kB / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.005305, allocations: 32.44 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.005322, allocations: 7.688 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.005346, allocations: 4 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.005371, allocations: 38.61 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005372, allocations: 0 / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001581/0.00553, allocations: 50.52 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.005561, allocations: 51.41 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.005642, allocations: 157.9 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.005657, allocations: 26.64 kB / 0.8148 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.005707, allocations: 130.9 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.005728, allocations: 12.95 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.005765, allocations: 15.38 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.005915, allocations: 496.1 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.005929, allocations: 1.344 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.005942, allocations: 3.984 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.005976, allocations: 14.59 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.00598, allocations: 4 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.982e-05/0.006049, allocations: 37.64 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.006063, allocations: 11.94 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.006068, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.006082, allocations: 3.938 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.00616, allocations: 7.984 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006162, allocations: 0.5 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.006185, allocations: 4 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.006189, allocations: 1.938 kB / 0.8155 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 (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.798e-05/0.006267, allocations: 156.6 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.006289, allocations: 4 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.006316, allocations: 3.312 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.00632, allocations: 5.625 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.006324, allocations: 3.984 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.00633, allocations: 0 / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.006459, allocations: 101.2 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.006461, allocations: 0 / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.006501, allocations: 8.906 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.006505, allocations: 3.984 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.006509, allocations: 0.5312 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.006512, allocations: 4.5 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006513, allocations: 0 / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.006644, allocations: 188.7 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.006651, allocations: 0.8438 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.006664, allocations: 7.984 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.006726, allocations: 8 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.006753, allocations: 1.281 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.006758, allocations: 3.938 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.006804, allocations: 131.3 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.006804, allocations: 0.8438 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002391/0.007043, allocations: 4 kB / 0.8161 GB, free: 13.04 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.0001175/0.007161, allocations: 92.38 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.007238, allocations: 21 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.00724, allocations: 0 / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.007262, allocations: 11.69 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.007532, allocations: 13.42 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.00781, allocations: 103.6 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.007852, allocations: 59.3 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.007872, allocations: 3.938 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.007926, allocations: 71.33 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.007927, allocations: 0 / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.002676/0.0106, allocations: 0.5252 MB / 0.817 GB, free: 12.11 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.106353071052581]