Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001059/0.001059, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002473, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001025/0.001025, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002266, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9389/0.9389, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09442/1.033, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.37/2.37, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2452/2.615, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.216e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001277/0.001299, allocations: 0.7185 MB / 0.8191 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007105/0.00201, allocations: 0.8508 MB / 0.8199 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.002037, allocations: 4 kB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.002064, allocations: 3.938 kB / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.002099, allocations: 0 / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.206e-05/0.002161, allocations: 11.98 kB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.002226, allocations: 23.92 kB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.002305, allocations: 4 kB / 0.8199 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.002387, allocations: 23.84 kB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.002429, allocations: 11.98 kB / 0.82 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.002449, allocations: 4 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-06/0.002456, allocations: 0 / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.00247, allocations: 8 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.002489, allocations: 7.938 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.85e-05/0.002558, allocations: 7.938 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.002571, allocations: 0 / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002572, allocations: 0 / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.002585, allocations: 0 / 0.82 GB, free: 1.133 MB / 0.7917 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.0003347/0.00292, allocations: 236.6 kB / 0.8202 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.002951, allocations: 12.62 kB / 0.8202 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.002973, allocations: 0.9375 kB / 0.8202 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.074e-05/0.003053, allocations: 113.7 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.003062, allocations: 384 / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.003069, allocations: 4.375 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.003172, allocations: 58.94 kB / 0.8204 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.00318, allocations: 4.125 kB / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.003187, allocations: 4.312 kB / 0.8204 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.003191, allocations: 384 / 0.8204 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.003211, allocations: 7.938 kB / 0.8204 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.003401, allocations: 140.4 kB / 0.8206 GB, free: 500 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.549e-05/0.003447, allocations: 18.58 kB / 0.8206 GB, free: 472 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.003464, allocations: 8.922 kB / 0.8206 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.003482, allocations: 4 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.003506, allocations: 38.5 kB / 0.8206 GB, free: 408 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 2.846e-06/0.003509, allocations: 7.984 kB / 0.8206 GB, free: 400 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 9.904e-05/0.003608, allocations: 33.69 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.003639, allocations: 59.34 kB / 0.8207 GB, free: 288 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.003688, allocations: 102.7 kB / 0.8208 GB, free: 172 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.003699, allocations: 25.7 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.003727, allocations: 80.14 kB / 0.8209 GB, free: 56 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.003746, allocations: 11.94 kB / 0.8209 GB, free: 44 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.003766, allocations: 9.719 kB / 0.8209 GB, free: 28 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.003854, allocations: 327 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.003861, allocations: 0 / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.003869, allocations: 3.938 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/0.00389, allocations: 16.84 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.003894, allocations: 4 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.205e-05/0.003936, allocations: 29.7 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.003948, allocations: 8 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.003953, allocations: 0 / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.003965, allocations: 0 / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.00403, allocations: 16.02 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004033, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.004048, allocations: 7.938 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.004052, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.8073 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 4.378e-05/0.004096, allocations: 109.8 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.004107, allocations: 4 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.004129, allocations: 11.3 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.004131, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.004133, allocations: 3.938 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004136, allocations: 0 / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.277e-05/0.004209, allocations: 65.91 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.004209, allocations: 7.938 kB / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.004227, allocations: 7.984 kB / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.004232, allocations: 0 / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004233, allocations: 0 / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.004237, allocations: 4 kB / 0.8215 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.004238, allocations: 0 / 0.8215 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.004239, allocations: 3.938 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.699e-05/0.004306, allocations: 131.5 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.004314, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.919e-05/0.004343, allocations: 4.031 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.004368, allocations: 11.92 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.004369, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.331e-05/0.004382, allocations: 16.8 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004383, allocations: 0 / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001089/0.004491, allocations: 4 kB / 0.8217 GB, free: 15.18 MB / 0.8073 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 5.985e-05/0.004551, allocations: 72.42 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.808e-05/0.004599, allocations: 16.84 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.004603, allocations: 0 / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.004615, allocations: 12.92 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.004741, allocations: 4 kB / 0.8218 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.005089, allocations: 112.6 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.00512, allocations: 59.34 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.409e-05/0.005134, allocations: 0 / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.005171, allocations: 51.38 kB / 0.822 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.005171, allocations: 0 / 0.822 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.00171/0.006881, allocations: 489.4 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.ref.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.177657348103821]