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.001662/0.001662, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002099/0.002099, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.596/1.596, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002457/0.002457, allocations: 71.88 kB / 1.11 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.095, allocations: 168.8 MB / 1.274 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002567/1.097, allocations: 0.6804 MB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001231/1.098, allocations: 0.804 MB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/1.099, allocations: 0 / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/1.099, allocations: 3.938 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/1.099, allocations: 4 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/1.099, allocations: 15.92 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.551e-05/1.099, allocations: 19.98 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/1.099, allocations: 8 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/1.099, allocations: 15.88 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/1.099, allocations: 7.984 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/1.099, allocations: 4 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/1.099, allocations: 0 / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/1.099, allocations: 7.984 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/1.099, allocations: 7.938 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/1.099, allocations: 23.89 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.099, allocations: 4 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/1.099, allocations: 3.938 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.491e-06/1.099, allocations: 0 / 1.276 GB, free: 2.512 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.000579/1.1, allocations: 264.7 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.1, allocations: 8.031 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/1.1, allocations: 4.891 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.1, allocations: 106.5 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/1.1, allocations: 384 / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/1.1, allocations: 8.375 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/1.1, allocations: 46.23 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.1, allocations: 4.172 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/1.1, allocations: 7.938 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.1, allocations: 3.938 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/1.101, allocations: 31.95 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/1.101, allocations: 220.1 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/1.101, allocations: 34.5 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.81e-05/1.101, allocations: 24.91 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/1.101, allocations: 3.984 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.101, allocations: 34.5 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/1.101, allocations: 0 / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000446/1.102, allocations: 85.59 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/1.102, allocations: 55.39 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.102, allocations: 97.86 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.102, allocations: 25.7 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/1.102, allocations: 92.03 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/1.102, allocations: 4.078 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/1.102, allocations: 25.7 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002159/1.102, allocations: 310.8 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/1.102, allocations: 15.98 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/1.102, allocations: 11.98 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/1.102, allocations: 48.81 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.102, allocations: 0 / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/1.103, allocations: 65.61 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.103, allocations: 7.984 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.103, allocations: 0 / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.103, allocations: 0 / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/1.103, allocations: 8 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.103, allocations: 0 / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/1.103, allocations: 16.02 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/1.103, allocations: 0 / 1.278 GB, free: 0.6914 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 0.0001282/1.103, allocations: 113.8 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/1.103, allocations: 0 / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/1.103, allocations: 7.25 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.103, allocations: 7.922 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/1.103, allocations: 0 / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.103, allocations: 0 / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/1.103, allocations: 136.7 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.103, allocations: 4 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/1.103, allocations: 15.98 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.103, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/1.103, allocations: 4 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.103, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.103, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/1.104, allocations: 163.5 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/1.104, allocations: 3.953 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/1.104, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/1.104, allocations: 15.92 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/1.104, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/1.104, allocations: 4 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.865e-05/1.104, allocations: 83.2 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/1.104, allocations: 4 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000206/1.104, allocations: 0 / 1.278 GB, free: 76 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.0001885/1.104, allocations: 99.61 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002103/1.104, allocations: 35.97 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.104, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/1.104, allocations: 19.97 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/1.105, allocations: 8.062 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/1.105, allocations: 109.5 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/1.105, allocations: 0.6767 MB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.619e-05/1.106, allocations: 7.984 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/1.106, allocations: 7.438 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.106, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.003073/1.109, allocations: 454.9 kB / 1.279 GB, free: 14.61 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.588476840406656]