Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001426/0.001426, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001523/0.001523, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 443.4 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.91 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00209/0.3619, allocations: 0.6741 MB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.363, allocations: 0.8079 MB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.363, allocations: 0 / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.363, allocations: 3.938 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.623e-05/0.3631, allocations: 3.938 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.3633, allocations: 15.92 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.209e-05/0.3633, allocations: 19.98 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3635, allocations: 4 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.3636, allocations: 7.938 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.3636, allocations: 15.92 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.3636, allocations: 8 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.3636, allocations: 0 / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.3637, allocations: 0 / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.3637, allocations: 19.91 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.3638, allocations: 19.91 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3638, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3638, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3638, allocations: 0 / 1.218 GB, free: 13.68 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.0005657/0.3644, allocations: 339.4 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3644, allocations: 16.03 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.3644, allocations: 0.9375 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3646, allocations: 164.3 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3646, allocations: 4.375 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3647, allocations: 4.375 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3648, allocations: 46.23 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3649, allocations: 192 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3649, allocations: 7.938 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3649, allocations: 7.875 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.365, allocations: 43.94 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.3654, allocations: 240.9 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3655, allocations: 42.53 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/0.3656, allocations: 20.91 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3656, allocations: 0 / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3657, allocations: 34.5 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3657, allocations: 4 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.366, allocations: 77.64 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3661, allocations: 51.53 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.3662, allocations: 109.8 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3662, allocations: 25.7 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.3662, allocations: 80.14 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3662, allocations: 3.953 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.3663, allocations: 17.72 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3664, allocations: 310.8 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/0.3665, allocations: 19.97 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.3666, allocations: 19.98 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3667, allocations: 36.77 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3667, allocations: 4 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/0.3669, allocations: 73.48 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3669, allocations: 8.094 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3669, allocations: 4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.367, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3671, allocations: 7.984 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3671, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.3671, allocations: 11.98 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3671, allocations: 4 kB / 1.219 GB, free: 11.64 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.0001147/0.3673, allocations: 109.8 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.3673, allocations: 0 / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.3673, allocations: 11.06 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3673, allocations: 4 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3673, allocations: 0 / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3673, allocations: 0 / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3676, allocations: 165.5 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3676, allocations: 0 / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.3676, allocations: 12 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3677, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3677, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3677, allocations: 4 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3677, allocations: 11.97 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.368, allocations: 155.5 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.3681, allocations: 88.98 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3681, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3682, allocations: 4 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.3683, allocations: 16.02 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3683, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.296e-05/0.3684, allocations: 83.22 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3684, allocations: 0 / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003513/0.3688, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 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.0002291/0.369, allocations: 95.25 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.3693, allocations: 39.95 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3693, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.3695, allocations: 19.98 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.37, allocations: 9.812 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.3705, allocations: 117.4 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.371, allocations: 0.6844 MB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.371, allocations: 4.125 kB / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.3711, allocations: 15.44 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/0.3711, allocations: 0 / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of Templates: time 0.00346/0.3745, allocations: 444.6 kB / 1.222 GB, free: 9.422 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.55928266234696]