Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002658/0.002658, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.00316/0.00316, allocations: 157.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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 1.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.034/3.034, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8109 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.429e-05, allocations: 2.312 kB / 0.8109 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001832/0.001866, allocations: 0.6578 MB / 0.8115 GB, free: 268 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003017, allocations: 0.8353 MB / 0.8123 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.003051, allocations: 1.469 kB / 0.8123 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.003072, allocations: 0 / 0.8123 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.003267, allocations: 7.922 kB / 0.8123 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.003401, allocations: 13.02 kB / 0.8124 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.003474, allocations: 19.94 kB / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.00357, allocations: 7.984 kB / 0.8124 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.613e-05/0.003657, allocations: 12.72 kB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.003695, allocations: 7.984 kB / 0.8124 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.003714, allocations: 5.688 kB / 0.8124 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.003722, allocations: 0 / 0.8124 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.003736, allocations: 4 kB / 0.8124 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.003765, allocations: 11.97 kB / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.409e-05/0.003859, allocations: 19.91 kB / 0.8124 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003861, allocations: 1.531 kB / 0.8124 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003862, allocations: 0 / 0.8124 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.003865, allocations: 4 kB / 0.8124 GB, free: 15.3 MB / 0.7292 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.0004728/0.004338, allocations: 353.5 kB / 0.8128 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.004374, allocations: 12.03 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.004416, allocations: 12.83 kB / 0.8128 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.004539, allocations: 116.5 kB / 0.8129 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.004551, allocations: 1.969 kB / 0.8129 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-06/0.00456, allocations: 384 / 0.8129 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.004711, allocations: 46.25 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.00472, allocations: 192 / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.004728, allocations: 2.938 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.004731, allocations: 384 / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.004845, allocations: 23.92 kB / 0.813 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.005206, allocations: 255.8 kB / 0.8132 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.005317, allocations: 35.06 kB / 0.8133 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.005383, allocations: 20.45 kB / 0.8133 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.005403, allocations: 0.5312 kB / 0.8133 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.00544, allocations: 37.39 kB / 0.8133 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.005441, allocations: 1.656 kB / 0.8133 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002911/0.005732, allocations: 69.55 kB / 0.8134 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.005776, allocations: 56.06 kB / 0.8134 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.005899, allocations: 161.9 kB / 0.8136 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.005917, allocations: 26.73 kB / 0.8136 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.006001, allocations: 134.8 kB / 0.8138 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.006019, allocations: 7.953 kB / 0.8138 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.006059, allocations: 20.53 kB / 0.8138 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002484/0.006307, allocations: 492.1 kB / 0.8142 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.006369, allocations: 17.36 kB / 0.8143 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.006409, allocations: 4 kB / 0.8143 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.006509, allocations: 33.42 kB / 0.8143 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.006511, allocations: 3.938 kB / 0.8143 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001574/0.006669, allocations: 61.61 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.006686, allocations: 10.62 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.006692, allocations: 3.938 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.006705, allocations: 0.5938 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.006778, allocations: 4.844 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.006782, allocations: 0 / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.006818, allocations: 7.984 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.006823, allocations: 1.969 kB / 0.8144 GB, free: 13.12 MB / 0.7292 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.0001088/0.006932, allocations: 156.6 kB / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.006954, allocations: 0 / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.006981, allocations: 11.44 kB / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.006985, allocations: 4.641 kB / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.006987, allocations: 0 / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.00699, allocations: 6.438 kB / 0.8146 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.007146, allocations: 120.6 kB / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007147, allocations: 0 / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.007191, allocations: 4 kB / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007192, allocations: 0 / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007199, allocations: 0 / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.007205, allocations: 7.922 kB / 0.8147 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.007209, allocations: 9.781 kB / 0.8147 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.007447, allocations: 195.9 kB / 0.8149 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.007455, allocations: 3.953 kB / 0.8149 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.007466, allocations: 0.5312 kB / 0.8149 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.007542, allocations: 12.48 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.007579, allocations: 4 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.007582, allocations: 1.812 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.255e-05/0.007655, allocations: 123.2 kB / 0.815 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.007655, allocations: 0 / 0.815 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002025/0.007858, allocations: 4 kB / 0.815 GB, free: 12.41 MB / 0.7292 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.0001283/0.007986, allocations: 100.4 kB / 0.8151 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.008154, allocations: 39.3 kB / 0.8152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.008155, allocations: 0 / 0.8152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.008224, allocations: 23.67 kB / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.008512, allocations: 13.61 kB / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.00887, allocations: 118.2 kB / 0.8153 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.251e-05/0.008942, allocations: 55.36 kB / 0.8154 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.008971, allocations: 9.828 kB / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.00901, allocations: 12.5 kB / 0.8154 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of SimCode: time 4.4e-07/0.009011, allocations: 4 kB / 0.8154 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.003521/0.01253, allocations: 483.9 kB / 0.8158 GB, free: 11.53 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.107222273014486]