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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0116/0.0116, allocations: 98.14 kB / 15.73 MB, free: 5.57 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.002277/0.002277, allocations: 194.7 kB / 16.67 MB, free: 5.5 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7347 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.12 kB / 1.054 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002095/1.048, allocations: 0.6666 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00106/1.049, allocations: 0.8 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/1.049, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/1.049, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/1.049, allocations: 15.92 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/1.049, allocations: 7.984 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.094e-05/1.05, allocations: 19.94 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/1.05, allocations: 11.98 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/1.05, allocations: 7.938 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/1.05, allocations: 11.98 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/1.05, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/1.05, allocations: 4 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/1.05, allocations: 7.938 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/1.05, allocations: 7.984 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.837e-05/1.05, allocations: 23.89 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.05, allocations: 4 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/1.05, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.05, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 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.0004862/1.051, allocations: 335.5 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.051, allocations: 8.031 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/1.051, allocations: 4.938 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.051, allocations: 164.2 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/1.051, allocations: 8.375 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/1.051, allocations: 4.375 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/1.051, allocations: 50.17 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.051, allocations: 192 / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.051, allocations: 7.938 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.051, allocations: 0 / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/1.051, allocations: 31.95 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/1.052, allocations: 249 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/1.052, allocations: 46.44 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/1.052, allocations: 28.83 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/1.052, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/1.052, allocations: 38.56 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/1.052, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003537/1.052, allocations: 81.55 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/1.052, allocations: 51.41 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/1.052, allocations: 101.8 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/1.052, allocations: 29.7 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/1.052, allocations: 88.25 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/1.052, allocations: 11.84 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/1.053, allocations: 13.72 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.053, allocations: 310.8 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/1.053, allocations: 15.98 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/1.053, allocations: 19.97 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/1.053, allocations: 36.89 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.053, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/1.053, allocations: 73.59 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.053, allocations: 5.719 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/1.053, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/1.053, allocations: 4 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/1.053, allocations: 11.92 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.053, allocations: 4.031 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/1.053, allocations: 4 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/1.053, allocations: 0 / 1.211 GB, free: 9.977 MB / 0.9356 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.212e-05/1.053, allocations: 117.8 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/1.053, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/1.054, allocations: 7.125 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.054, allocations: 0 / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.054, allocations: 0 / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/1.054, allocations: 8 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/1.054, allocations: 157.6 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.054, allocations: 4 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/1.054, allocations: 7.984 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.054, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/1.054, allocations: 4 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.054, allocations: 0 / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.054, allocations: 3.938 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/1.054, allocations: 167.4 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/1.054, allocations: 85.02 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/1.054, allocations: 0 / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/1.054, allocations: 7.984 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/1.054, allocations: 0 / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/1.054, allocations: 4 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.337e-05/1.054, allocations: 79.27 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.054, allocations: 4.031 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002055/1.055, allocations: 4 kB / 1.212 GB, free: 9.234 MB / 0.9356 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.0001459/1.055, allocations: 103.2 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000206/1.055, allocations: 35.95 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.055, allocations: 0 / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/1.055, allocations: 19.98 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/1.055, allocations: 21.77 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/1.056, allocations: 109.5 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/1.056, allocations: 0.6768 MB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.047e-05/1.056, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/1.056, allocations: 7.438 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/1.056, allocations: 0 / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of Templates: time 0.00229/1.058, allocations: 458.9 kB / 1.213 GB, free: 7.754 MB / 0.9356 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/jenkins/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