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.001534/0.001534, allocations: 112.7 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.001903/0.001903, allocations: 189.6 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.606/1.606, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.158/3.158, allocations: 0.4893 GB / 0.7884 GB, free: 33.15 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001986/0.001986, allocations: 69.48 kB / 1.145 GB, free: 30.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.406, allocations: 174.9 MB / 1.316 GB, free: 9.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001966/0.4079, allocations: 0.666 MB / 1.317 GB, free: 8.879 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.4089, allocations: 0.8083 MB / 1.318 GB, free: 8.059 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.409, allocations: 0 / 1.318 GB, free: 8.059 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.409, allocations: 0 / 1.318 GB, free: 8.059 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.4091, allocations: 3.938 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.4092, allocations: 15.97 kB / 1.318 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.4093, allocations: 19.94 kB / 1.318 GB, free: 8.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4094, allocations: 11.98 kB / 1.318 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.4095, allocations: 3.938 kB / 1.318 GB, free: 8.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.4095, allocations: 15.98 kB / 1.318 GB, free: 7.988 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.4095, allocations: 4 kB / 1.318 GB, free: 7.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.4096, allocations: 0 / 1.318 GB, free: 7.984 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.4096, allocations: 7.938 kB / 1.318 GB, free: 7.977 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.4096, allocations: 4 kB / 1.318 GB, free: 7.973 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.99e-05/0.4097, allocations: 31.83 kB / 1.318 GB, free: 7.941 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4097, allocations: 3.984 kB / 1.318 GB, free: 7.938 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4097, allocations: 0 / 1.318 GB, free: 7.938 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4097, allocations: 0 / 1.318 GB, free: 7.938 MB / 1.014 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.0004592/0.4102, allocations: 258.4 kB / 1.318 GB, free: 7.652 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4102, allocations: 12.02 kB / 1.318 GB, free: 7.641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.4102, allocations: 4.891 kB / 1.318 GB, free: 7.637 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4104, allocations: 110.5 kB / 1.318 GB, free: 7.504 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.4104, allocations: 4.359 kB / 1.318 GB, free: 7.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.4104, allocations: 4.312 kB / 1.318 GB, free: 7.496 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.4106, allocations: 50.23 kB / 1.318 GB, free: 7.441 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.4106, allocations: 192 / 1.318 GB, free: 7.441 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4106, allocations: 3.938 kB / 1.318 GB, free: 7.438 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.4106, allocations: 8 kB / 1.318 GB, free: 7.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.4107, allocations: 27.97 kB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.4111, allocations: 216 kB / 1.318 GB, free: 7.148 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.4112, allocations: 42.44 kB / 1.318 GB, free: 7.098 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.4113, allocations: 28.91 kB / 1.318 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.4113, allocations: 3.938 kB / 1.318 GB, free: 7.062 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.4113, allocations: 30.56 kB / 1.318 GB, free: 7.023 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4113, allocations: 0 / 1.318 GB, free: 7.023 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003292/0.4117, allocations: 89.53 kB / 1.318 GB, free: 6.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4117, allocations: 55.53 kB / 1.319 GB, free: 6.863 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.4118, allocations: 97.84 kB / 1.319 GB, free: 6.758 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4118, allocations: 25.7 kB / 1.319 GB, free: 6.727 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.4119, allocations: 88.14 kB / 1.319 GB, free: 6.637 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.4119, allocations: 3.953 kB / 1.319 GB, free: 6.633 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.4119, allocations: 9.719 kB / 1.319 GB, free: 6.617 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4121, allocations: 322.8 kB / 1.319 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.4122, allocations: 11.98 kB / 1.319 GB, free: 6.281 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.4122, allocations: 19.98 kB / 1.319 GB, free: 6.262 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.4124, allocations: 40.81 kB / 1.319 GB, free: 6.219 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4124, allocations: 0 / 1.319 GB, free: 6.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.4125, allocations: 69.55 kB / 1.319 GB, free: 6.145 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4126, allocations: 8.094 kB / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4126, allocations: 0 / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4126, allocations: 3.984 kB / 1.319 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.4127, allocations: 8 kB / 1.319 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4127, allocations: 0 / 1.319 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.4127, allocations: 7.984 kB / 1.319 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.4127, allocations: 0 / 1.319 GB, free: 6.117 MB / 1.014 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 8.669e-05/0.4128, allocations: 119.1 kB / 1.319 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.4128, allocations: 8 kB / 1.319 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.4129, allocations: 3.312 kB / 1.319 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4129, allocations: 0 / 1.319 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4129, allocations: 0 / 1.319 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4129, allocations: 3.984 kB / 1.319 GB, free: 5.973 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.413, allocations: 136.7 kB / 1.319 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.413, allocations: 0 / 1.319 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.4131, allocations: 7.984 kB / 1.319 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4131, allocations: 0 / 1.319 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.4131, allocations: 3.938 kB / 1.319 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4131, allocations: 4 kB / 1.319 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4131, allocations: 4 kB / 1.32 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4133, allocations: 175.3 kB / 1.32 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-06/0.4133, allocations: 0 / 1.32 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.4134, allocations: 0 / 1.32 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.4134, allocations: 7.984 kB / 1.32 GB, free: 5.582 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.4135, allocations: 4.219 kB / 1.32 GB, free: 5.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4135, allocations: 4 kB / 1.32 GB, free: 5.574 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.4135, allocations: 83.27 kB / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4135, allocations: 0 / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002003/0.4137, allocations: 4 kB / 1.32 GB, free: 5.488 MB / 1.014 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.0001557/0.4139, allocations: 99.23 kB / 1.32 GB, free: 5.379 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.4141, allocations: 39.97 kB / 1.32 GB, free: 5.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4141, allocations: 3.938 kB / 1.32 GB, free: 5.336 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.4142, allocations: 23.97 kB / 1.32 GB, free: 5.312 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.4144, allocations: 3.938 kB / 1.32 GB, free: 5.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.4147, allocations: 101.5 kB / 1.32 GB, free: 5.184 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.415, allocations: 0.6729 MB / 1.321 GB, free: 4.484 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.415, allocations: 8.125 kB / 1.321 GB, free: 4.477 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.4151, allocations: 7.438 kB / 1.321 GB, free: 4.469 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.4151, allocations: 0 / 1.321 GB, free: 4.469 MB / 1.014 GB Notification: Performance of Templates: time 0.002709/0.4178, allocations: 458.5 kB / 1.321 GB, free: 4.023 MB / 1.014 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.217107523232698]