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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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=5000,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=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.0009385, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.799/2.799, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003913, allocations: 13.5 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3565, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001051/0.3576, allocations: 404.5 kB / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3587, allocations: 0.8001 MB / 1.061 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.3587, allocations: 0 / 1.061 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.3588, allocations: 8 kB / 1.061 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.3588, allocations: 3.938 kB / 1.061 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.359, allocations: 3.984 kB / 1.061 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.14e-05/0.3591, allocations: 19.98 kB / 1.061 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3592, allocations: 4 kB / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.3593, allocations: 19.86 kB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.3593, allocations: 4 kB / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3594, allocations: 0 / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.3594, allocations: 0 / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.3594, allocations: 11.94 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.3594, allocations: 33.69 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.21e-05/0.3595, allocations: 19.95 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3595, allocations: 0 / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3595, allocations: 3.938 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.3595, allocations: 0 / 1.061 GB, free: 3.645 MB / 0.8106 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.0004438/0.36, allocations: 335.8 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.36, allocations: 15.97 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.3601, allocations: 4.938 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3602, allocations: 168.2 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3602, allocations: 384 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3602, allocations: 384 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3604, allocations: 54.23 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3605, allocations: 4.188 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3605, allocations: 3.938 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3605, allocations: 7.984 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.3607, allocations: 47.89 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.3611, allocations: 245 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3612, allocations: 46.48 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3613, allocations: 28.91 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3613, allocations: 0 / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3614, allocations: 34.56 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3614, allocations: 3.938 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003887/0.3618, allocations: 101.7 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.3618, allocations: 51.41 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.3619, allocations: 97.86 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.3619, allocations: 29.64 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.362, allocations: 84.12 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.362, allocations: 7.906 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.362, allocations: 9.719 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3622, allocations: 314.8 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.3623, allocations: 24.02 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.3623, allocations: 23.97 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3625, allocations: 52.83 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3625, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002186/0.3628, allocations: 85.59 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3628, allocations: 4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3628, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3628, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3629, allocations: 11.98 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3629, allocations: 3.938 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.363, allocations: 8 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.363, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 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.394e-05/0.3631, allocations: 117.8 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.3631, allocations: 11.89 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.3632, allocations: 3.125 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3632, allocations: 0 / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3632, allocations: 0 / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3632, allocations: 3.938 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.3634, allocations: 157.6 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3634, allocations: 4 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.3634, allocations: 15.98 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3634, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3635, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3635, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3635, allocations: 4 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3637, allocations: 175.5 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3638, allocations: 81.11 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3638, allocations: 0 / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.3639, allocations: 7.984 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3639, allocations: 4 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3639, allocations: 0 / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.364, allocations: 87.27 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.364, allocations: 4.031 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000217/0.3642, allocations: 4 kB / 1.063 GB, free: 0.7891 MB / 0.8106 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.0001622/0.3644, allocations: 99.19 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.3646, allocations: 51.95 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3646, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.3647, allocations: 27.92 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3651, allocations: 10.19 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.3654, allocations: 142.6 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3656, allocations: 0.6731 MB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.3657, allocations: 11.44 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of SimCode: time 6.843e-06/0.3657, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.001953/0.3676, allocations: 0.5434 MB / 1.065 GB, free: 15.17 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches