Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 111.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190.9 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.004/3.004, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 72.12 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8682, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001937/0.8701, allocations: 0.676 MB / 1.275 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.8711, allocations: 0.8039 MB / 1.276 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.8712, allocations: 0 / 1.276 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.8712, allocations: 0 / 1.276 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.8713, allocations: 3.938 kB / 1.276 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.8714, allocations: 11.98 kB / 1.276 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.8715, allocations: 23.92 kB / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.8716, allocations: 8 kB / 1.276 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.8717, allocations: 11.98 kB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.8717, allocations: 15.92 kB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.8717, allocations: 4 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.8717, allocations: 0 / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.8717, allocations: 0 / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.8718, allocations: 19.86 kB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.396e-05/0.8719, allocations: 19.91 kB / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.8719, allocations: 0 / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8719, allocations: 0 / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8719, allocations: 0 / 1.276 GB, free: 2.973 MB / 0.9669 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.0005632/0.8724, allocations: 342.1 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8725, allocations: 12.03 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.8725, allocations: 4.891 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.8727, allocations: 160.4 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.8727, allocations: 8.312 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.8727, allocations: 384 / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.8729, allocations: 50.23 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.8729, allocations: 192 / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.873, allocations: 7.938 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.873, allocations: 0 / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.8732, allocations: 35.95 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.8736, allocations: 244.9 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.8737, allocations: 46.47 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.8738, allocations: 24.91 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.8739, allocations: 0 / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.8739, allocations: 30.56 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.8739, allocations: 4 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004222/0.8743, allocations: 81.73 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.8744, allocations: 55.34 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.8745, allocations: 102 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.8745, allocations: 33.64 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.8746, allocations: 84.09 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.8746, allocations: 7.891 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.8746, allocations: 13.72 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.8748, allocations: 314.8 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.8749, allocations: 20 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.875, allocations: 19.98 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.8752, allocations: 32.83 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8752, allocations: 4 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002221/0.8754, allocations: 69.66 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8754, allocations: 11.94 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.8754, allocations: 48 / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8754, allocations: 3.984 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.8755, allocations: 7.984 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.8755, allocations: 3.984 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.8756, allocations: 7.984 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.8756, allocations: 4 kB / 1.277 GB, free: 0.9375 MB / 0.9669 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 9.397e-05/0.8757, allocations: 121.8 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.8757, allocations: 0 / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.8757, allocations: 3.125 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8757, allocations: 4 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8758, allocations: 0 / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8758, allocations: 0 / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.8759, allocations: 161.6 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.8759, allocations: 0 / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.876, allocations: 12 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.876, allocations: 0 / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.876, allocations: 4 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.876, allocations: 0 / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.876, allocations: 3.984 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.8763, allocations: 163.4 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.8763, allocations: 85.05 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.8763, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.8764, allocations: 8.031 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.8765, allocations: 7.984 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.8765, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.8765, allocations: 87.22 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8765, allocations: 0 / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002171/0.8767, allocations: 4 kB / 1.278 GB, free: 200 kB / 0.9669 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.0001563/0.8769, allocations: 95.78 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.8771, allocations: 39.95 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8771, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/0.8772, allocations: 23.92 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.8776, allocations: 7.938 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.8779, allocations: 121.4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.8782, allocations: 0.6808 MB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.084e-05/0.8783, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.8783, allocations: 11.44 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8783, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.003044/0.8813, allocations: 447.8 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.328373217955232]