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.1-maint.10.0.x/package.mo", uses=false) 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=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.001705/0.001705, allocations: 110.3 kB / 16.41 MB, free: 6.508 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.001885/0.001885, allocations: 187 kB / 17.34 MB, free: 5.742 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9814/0.9827, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002071/0.9849, allocations: 0.667 MB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.9859, allocations: 0.8039 MB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.986, allocations: 0 / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.986, allocations: 0 / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.9861, allocations: 7.938 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.9863, allocations: 4 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.9864, allocations: 23.92 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.9865, allocations: 11.98 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.9866, allocations: 11.94 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.9866, allocations: 15.97 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.9866, allocations: 4 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.9867, allocations: 4 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.9867, allocations: 0 / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.9867, allocations: 7.938 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.9868, allocations: 23.91 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9868, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9868, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.9869, allocations: 3.984 kB / 1.169 GB, free: 2.238 MB / 0.8887 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.0004643/0.9873, allocations: 327.5 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9874, allocations: 16.61 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.9874, allocations: 4.938 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.9876, allocations: 172.1 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.9876, allocations: 384 / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.9876, allocations: 8.375 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.9878, allocations: 42.23 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.9878, allocations: 4.188 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.9878, allocations: 7.938 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9878, allocations: 0 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.988, allocations: 35.95 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.9884, allocations: 241 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.9885, allocations: 46.5 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.9886, allocations: 27.28 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.9886, allocations: 3.984 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.9887, allocations: 30.56 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9887, allocations: 0 / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003516/0.989, allocations: 85.55 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.9891, allocations: 59.28 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/0.9891, allocations: 106 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.9892, allocations: 29.64 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.9892, allocations: 84.12 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.9892, allocations: 11.89 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.9893, allocations: 13.72 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.9894, allocations: 310.8 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.9895, allocations: 15.98 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.9895, allocations: 19.98 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.9897, allocations: 36.81 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9897, allocations: 0 / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.9899, allocations: 73.53 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9899, allocations: 4 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9899, allocations: 8.094 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.99, allocations: 0 / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.9901, allocations: 8 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.9901, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.9901, allocations: 7.984 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.9901, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 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.291e-05/0.9902, allocations: 113.8 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.9902, allocations: 0 / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.9903, allocations: 15.11 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9903, allocations: 0 / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9903, allocations: 4 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9903, allocations: 0 / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.9905, allocations: 157.6 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9905, allocations: 0 / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.038e-05/0.9906, allocations: 7.984 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.9906, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.9906, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9906, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9906, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.9908, allocations: 167.4 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.9909, allocations: 81.2 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.9909, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.991, allocations: 15.97 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.991, allocations: 3.938 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.9911, allocations: 8.031 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.9911, allocations: 79.27 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9911, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002125/0.9913, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 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.0001453/0.9915, allocations: 101.8 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.9917, allocations: 35.97 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9917, allocations: 4.062 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.9918, allocations: 27.84 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.9921, allocations: 9.766 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.9925, allocations: 135.2 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.9927, allocations: 0.6768 MB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.9928, allocations: 7.438 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9928, allocations: 4.062 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of Templates: time 0.002151/0.9949, allocations: 0.5385 MB / 1.173 GB, free: 13.87 MB / 0.9044 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