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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001522/0.001522, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001675/0.001675, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.695/2.695, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 71.89 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9845/0.9859, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002338/0.9883, allocations: 0.6632 MB / 1.227 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.9895, allocations: 0.804 MB / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.9896, allocations: 0 / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.9896, allocations: 0 / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-05/0.9897, allocations: 7.922 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.9899, allocations: 4 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.484e-05/0.99, allocations: 23.92 kB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.9901, allocations: 12 kB / 1.228 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.9902, allocations: 15.91 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.9903, allocations: 4 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.9903, allocations: 7.938 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.9903, allocations: 0 / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.9904, allocations: 11.92 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.9904, allocations: 8 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.819e-05/0.9905, allocations: 19.91 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9905, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9905, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.9905, allocations: 0 / 1.228 GB, free: 11.91 MB / 0.9512 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.0004757/0.991, allocations: 339 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9911, allocations: 15.97 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.9911, allocations: 4.891 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.9912, allocations: 165.4 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.9913, allocations: 4.375 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.9913, allocations: 4.359 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.9915, allocations: 50.23 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.9915, allocations: 4.188 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.9915, allocations: 3.938 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.9915, allocations: 0 / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.9917, allocations: 31.97 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.9921, allocations: 256.8 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.9922, allocations: 46.5 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.9923, allocations: 20.91 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.9923, allocations: 0 / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.9923, allocations: 34.56 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.9924, allocations: 0 / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000349/0.9927, allocations: 81.58 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.9928, allocations: 55.41 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.9928, allocations: 101.8 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.9929, allocations: 25.7 kB / 1.229 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.9929, allocations: 92.03 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.993, allocations: 3.953 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.993, allocations: 13.72 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9931, allocations: 323 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.9932, allocations: 11.98 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.9933, allocations: 19.98 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.9934, allocations: 40.81 kB / 1.23 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9934, allocations: 0 / 1.23 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.9936, allocations: 69.61 kB / 1.23 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9937, allocations: 8 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9937, allocations: 0 / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.9937, allocations: 0 / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.9938, allocations: 7.984 kB / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.9938, allocations: 3.938 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.9939, allocations: 7.984 kB / 1.23 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.9939, allocations: 4 kB / 1.23 GB, free: 9.871 MB / 0.9512 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.646e-05/0.994, allocations: 109.9 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.994, allocations: 7.938 kB / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.994, allocations: 7.125 kB / 1.23 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.994, allocations: 0 / 1.23 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.994, allocations: 0 / 1.23 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.9941, allocations: 81.09 kB / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.9941, allocations: 0 / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.9942, allocations: 4 kB / 1.23 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.9942, allocations: 3.984 kB / 1.23 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002383/0.9945, allocations: 156.8 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002584/0.9948, allocations: 238.7 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.614e-05/0.9949, allocations: 24.05 kB / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.9949, allocations: 87.44 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of Backend: time 3.11e-07/0.9949, allocations: 0 / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.9954, allocations: 98.33 kB / 1.231 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000537/0.9959, allocations: 0.5569 MB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of Templates: time 0.002884/0.9988, allocations: 0.536 MB / 1.232 GB, free: 7.871 MB / 0.9512 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