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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_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.001047/0.001047, allocations: 99.42 kB / 16.02 MB, free: 76 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.001602/0.001602, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.8 MB / 0.7128 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 12 kB / 0.8735 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7685, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.0009262/0.7694, allocations: 406.3 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.7706, allocations: 0.7884 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.7706, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.7706, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.7707, allocations: 7.938 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.7709, allocations: 11.98 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.09e-05/0.771, allocations: 23.97 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.7711, allocations: 4 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.7712, allocations: 11.88 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.7712, allocations: 7.984 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.7712, allocations: 4 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.7712, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.7713, allocations: 3.938 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.7713, allocations: 33.7 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.841e-05/0.7714, allocations: 15.95 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7714, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7714, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7714, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 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.0004806/0.7719, allocations: 341.5 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7719, allocations: 8.031 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.772, allocations: 4.875 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.7721, allocations: 176.3 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.7722, allocations: 384 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.7722, allocations: 4.359 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.7724, allocations: 58.17 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7724, allocations: 4.188 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7724, allocations: 3.938 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.7724, allocations: 7.938 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.7726, allocations: 47.95 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.773, allocations: 241 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.7732, allocations: 46.5 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.7733, allocations: 32.89 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.7733, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.7733, allocations: 34.5 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7733, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003948/0.7737, allocations: 97.64 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.7738, allocations: 55.53 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.122e-05/0.7739, allocations: 93.86 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.7739, allocations: 25.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.7739, allocations: 84.14 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.774, allocations: 15.83 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.774, allocations: 9.719 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.7741, allocations: 310.8 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.7742, allocations: 23.98 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.7743, allocations: 19.98 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.7745, allocations: 60.81 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7745, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002095/0.7747, allocations: 73.61 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7747, allocations: 11.98 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.7747, allocations: 4.031 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7748, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.7749, allocations: 8 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.7749, allocations: 0 / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.7749, allocations: 11.98 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.775, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.7794 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 8.739e-05/0.775, allocations: 110.3 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.7751, allocations: 15.84 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.7751, allocations: 11.06 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7751, allocations: 3.984 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7751, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7751, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.7753, allocations: 157.6 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7753, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.7754, allocations: 11.98 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.7754, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.7754, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7754, allocations: 3.938 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7754, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.7757, allocations: 175.5 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.7757, allocations: 81.11 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.7758, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.7759, allocations: 7.984 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.7759, allocations: 4 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7759, allocations: 192 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.776, allocations: 91.19 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.776, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000214/0.7762, allocations: 8.031 kB / 1.027 GB, free: 11.62 MB / 0.7794 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.0001452/0.7763, allocations: 99.25 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.7766, allocations: 43.97 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.7766, allocations: 4.062 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.112e-05/0.7767, allocations: 23.97 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.777, allocations: 11.94 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.7773, allocations: 126.6 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.7775, allocations: 0.6848 MB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.7776, allocations: 11.44 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.7776, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.001828/0.7794, allocations: 0.5395 MB / 1.029 GB, free: 10.02 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches