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.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.001329/0.001329, allocations: 115.3 kB / 17.08 MB, free: 5.977 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.001357/0.001357, allocations: 190.2 kB / 20.02 MB, free: 3.051 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.53/1.53, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.122/3.122, allocations: 489.2 MB / 0.7687 GB, free: 3.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002019/0.002019, allocations: 63.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002072/1.175, allocations: 0.6658 MB / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001026/1.176, allocations: 0.7989 MB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/1.176, allocations: 0 / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/1.176, allocations: 5.578 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/1.176, allocations: 3.938 kB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/1.177, allocations: 9.109 kB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/1.177, allocations: 23.38 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/1.177, allocations: 8.828 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/1.177, allocations: 9.719 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/1.177, allocations: 13.41 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/1.177, allocations: 6.125 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/1.177, allocations: 2.094 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/1.177, allocations: 1.359 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/1.177, allocations: 10.97 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.713e-05/1.177, allocations: 20.92 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.177, allocations: 0.6094 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.003e-06/1.177, allocations: 0.6875 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.177, allocations: 0 / 1.264 GB, free: 6.934 MB / 0.9981 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.0004454/1.178, allocations: 339.1 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.178, allocations: 9.344 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/1.178, allocations: 6.562 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/1.178, allocations: 167.5 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.178, allocations: 5.219 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/1.178, allocations: 1.188 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/1.178, allocations: 49.11 kB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.178, allocations: 192 / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.178, allocations: 5.344 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.178, allocations: 0.75 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/1.178, allocations: 36.72 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/1.179, allocations: 250.3 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/1.179, allocations: 44.22 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/1.179, allocations: 27.36 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/1.179, allocations: 1.953 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/1.179, allocations: 35.56 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.179, allocations: 0 / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003651/1.179, allocations: 83.38 kB / 1.265 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/1.179, allocations: 56.95 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/1.179, allocations: 105.4 kB / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/1.179, allocations: 25.7 kB / 1.265 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/1.179, allocations: 90.41 kB / 1.265 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/1.179, allocations: 5.672 kB / 1.265 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/1.179, allocations: 16.03 kB / 1.265 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/1.179, allocations: 313.5 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/1.18, allocations: 17.25 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/1.18, allocations: 18.61 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/1.18, allocations: 37.38 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.18, allocations: 3.938 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/1.18, allocations: 71.09 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.18, allocations: 9.922 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.18, allocations: 0.8438 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.18, allocations: 0 / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/1.18, allocations: 9.25 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.18, allocations: 0 / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/1.18, allocations: 10.44 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/1.18, allocations: 0.8125 kB / 1.266 GB, free: 5.207 MB / 0.9981 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 6.366e-05/1.18, allocations: 115.5 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/1.18, allocations: 2.125 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/1.18, allocations: 8.391 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/1.18, allocations: 0.8438 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.18, allocations: 0.6562 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.18, allocations: 0.75 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/1.181, allocations: 159.5 kB / 1.266 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.181, allocations: 0.7188 kB / 1.266 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/1.181, allocations: 8.812 kB / 1.266 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.181, allocations: 0.75 kB / 1.266 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/1.181, allocations: 4.703 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.181, allocations: 4.75 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.181, allocations: 0 / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/1.181, allocations: 166.6 kB / 1.266 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/1.181, allocations: 80.02 kB / 1.266 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/1.181, allocations: 0.6875 kB / 1.266 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/1.181, allocations: 10.05 kB / 1.266 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/1.181, allocations: 9.859 kB / 1.266 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/1.181, allocations: 1.312 kB / 1.266 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.569e-05/1.181, allocations: 79.97 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.181, allocations: 0 / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002058/1.181, allocations: 3.469 kB / 1.267 GB, free: 4.559 MB / 0.9981 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.0001417/1.181, allocations: 98.75 kB / 1.267 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002285/1.182, allocations: 39.36 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.182, allocations: 0 / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/1.182, allocations: 25.23 kB / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/1.182, allocations: 10.38 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/1.182, allocations: 137.1 kB / 1.267 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/1.182, allocations: 0.6756 MB / 1.268 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/1.183, allocations: 17.25 kB / 1.268 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.183, allocations: 0 / 1.268 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.002359/1.185, allocations: 0.5536 MB / 1.268 GB, free: 3.555 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.739816248882562]