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.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.00148/0.00148, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001677/0.001677, allocations: 191.2 kB / 22.11 MB, free: 5.152 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.524/1.524, allocations: 225.6 MB / 250.8 MB, free: 13.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.379/3.379, allocations: 495.8 MB / 0.783 GB, free: 33.39 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-maint.12.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_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 0.00199/0.00199, allocations: 68.05 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4306, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002314/0.433, allocations: 0.6665 MB / 1.307 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.4341, allocations: 0.8121 MB / 1.308 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.4341, allocations: 0 / 1.308 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.4341, allocations: 0 / 1.308 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.4342, allocations: 7.938 kB / 1.308 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.4343, allocations: 15.97 kB / 1.308 GB, free: 364 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.4344, allocations: 23.92 kB / 1.308 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4345, allocations: 0 / 1.308 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.4346, allocations: 8 kB / 1.308 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.4347, allocations: 15.92 kB / 1.308 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.4347, allocations: 4 kB / 1.308 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.4347, allocations: 0 / 1.308 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.4347, allocations: 0 / 1.308 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.4347, allocations: 15.92 kB / 1.308 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.444e-05/0.4348, allocations: 31.83 kB / 1.308 GB, free: 264 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4348, allocations: 0 / 1.308 GB, free: 264 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4348, allocations: 0 / 1.308 GB, free: 264 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4349, allocations: 0 / 1.308 GB, free: 264 kB / 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.0006224/0.4355, allocations: 258.3 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4355, allocations: 12.03 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.4355, allocations: 4.891 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.4357, allocations: 114.5 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4357, allocations: 384 / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.4357, allocations: 4.375 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.436, allocations: 50.23 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.436, allocations: 192 / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.436, allocations: 7.875 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.436, allocations: 0 / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.4362, allocations: 35.95 kB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.4366, allocations: 224 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4367, allocations: 34.5 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.735e-05/0.4368, allocations: 24.89 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4368, allocations: 4 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4369, allocations: 30.56 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4369, allocations: 4 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004559/0.4373, allocations: 85.58 kB / 1.309 GB, free: 15.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.4374, allocations: 51.41 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.932e-05/0.4375, allocations: 97.86 kB / 1.309 GB, free: 15.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.4376, allocations: 25.7 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.4377, allocations: 84.09 kB / 1.309 GB, free: 14.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.4377, allocations: 16.06 kB / 1.309 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.4377, allocations: 13.72 kB / 1.309 GB, free: 14.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003366/0.4381, allocations: 314.8 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.4382, allocations: 19.92 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.4382, allocations: 15.97 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.4384, allocations: 40.89 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4384, allocations: 0 / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002169/0.4386, allocations: 73.53 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4386, allocations: 4 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4387, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4387, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.4388, allocations: 11.98 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4388, allocations: 3.984 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.4388, allocations: 12.03 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.4388, allocations: 0 / 1.31 GB, free: 14.43 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 9.746e-05/0.4389, allocations: 117.7 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.439, allocations: 4 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.439, allocations: 7.297 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.439, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.439, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.439, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4392, allocations: 136.7 kB / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4392, allocations: 0 / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.4393, allocations: 15.98 kB / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4393, allocations: 0 / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.4393, allocations: 0 / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4393, allocations: 0 / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4393, allocations: 0 / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.4395, allocations: 171.5 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.4395, allocations: 11.94 kB / 1.31 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4396, allocations: 0 / 1.31 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.4396, allocations: 11.98 kB / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.4397, allocations: 0 / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.4397, allocations: 0 / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.4397, allocations: 83.27 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4397, allocations: 0 / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002139/0.44, allocations: 4 kB / 1.311 GB, free: 13.8 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.0001758/0.4401, allocations: 100.1 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.4404, allocations: 43.89 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4404, allocations: 3.938 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.4405, allocations: 15.98 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.4408, allocations: 9.156 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.4411, allocations: 106.2 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.4416, allocations: 0.6768 MB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.4416, allocations: 0 / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.4417, allocations: 11.44 kB / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.4417, allocations: 0 / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of Templates: time 0.003092/0.4448, allocations: 456.3 kB / 1.312 GB, free: 12.34 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] 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: 9.701137028634548]