Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007666/0.007667, allocations: 95.92 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 193.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 65.06 kB / 0.9509 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3657, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002343/0.3681, allocations: 0.6705 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3693, allocations: 0.7966 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.3694, allocations: 4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.3694, allocations: 3.844 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.3695, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.3697, allocations: 11.92 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.3698, allocations: 27.98 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3699, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/0.37, allocations: 15.92 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.37, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.37, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.3701, allocations: 4 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.3701, allocations: 11.92 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.3701, allocations: 11.98 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.85e-05/0.3702, allocations: 23.84 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3702, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3703, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3703, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 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.0005108/0.3708, allocations: 341.5 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3708, allocations: 12.03 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3709, allocations: 0.9375 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.371, allocations: 168.4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3711, allocations: 4.375 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3711, allocations: 384 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3713, allocations: 58.23 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3713, allocations: 192 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3713, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3713, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.3715, allocations: 35.91 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.3718, allocations: 244.9 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.372, allocations: 46.53 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.3721, allocations: 20.91 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3721, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.3721, allocations: 34.56 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3721, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003538/0.3725, allocations: 89.53 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3726, allocations: 55.41 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.3726, allocations: 97.84 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3727, allocations: 29.64 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.3727, allocations: 84.14 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.3727, allocations: 3.953 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.3728, allocations: 17.84 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3729, allocations: 318.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.373, allocations: 15.98 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.3731, allocations: 15.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3733, allocations: 40.77 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3733, allocations: 4.062 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.3735, allocations: 65.59 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3735, allocations: 8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3735, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3735, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.3736, allocations: 7.984 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3736, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.3737, allocations: 12.02 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3737, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 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 7.6e-05/0.3738, allocations: 113.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.3738, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3739, allocations: 7.125 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3739, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3739, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3739, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3741, allocations: 165.5 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3741, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.038e-05/0.3741, allocations: 19.92 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3742, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3742, allocations: 3.938 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3742, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3742, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.3745, allocations: 167.5 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.3745, allocations: 77.3 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.3746, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.3746, allocations: 11.98 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.3747, allocations: 7.984 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3747, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.3747, allocations: 83.28 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3748, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002182/0.375, allocations: 7.938 kB / 1.092 GB, free: 13.06 MB / 0.8575 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.000202/0.3752, allocations: 99.81 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3754, allocations: 43.89 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3754, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.3755, allocations: 23.92 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3758, allocations: 9.484 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.3761, allocations: 101.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.3766, allocations: 0.6768 MB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.3766, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.3766, allocations: 11.44 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3766, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of Templates: time 0.002562/0.3792, allocations: 448.8 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches