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.001333/0.001333, allocations: 109 kB / 15.99 MB, free: 5.914 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.001315/0.001315, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.505/2.505, allocations: 437.1 MB / 0.7107 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 60.5 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 151.6 MB / 1.018 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002278/0.3079, allocations: 0.7145 MB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.309, allocations: 0.804 MB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.3091, allocations: 0 / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.3091, allocations: 0 / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.3092, allocations: 3.938 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.3094, allocations: 11.98 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.3095, allocations: 23.98 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3096, allocations: 15.92 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.3097, allocations: 7.938 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.3097, allocations: 11.98 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3098, allocations: 0 / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.3098, allocations: 4 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.3098, allocations: 7.938 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.3098, allocations: 0 / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3099, allocations: 23.91 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3099, allocations: 0 / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.31, allocations: 4 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.31, allocations: 0 / 1.019 GB, free: 9.32 MB / 0.795 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.0005025/0.3105, allocations: 335.8 kB / 1.019 GB, free: 8.941 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3105, allocations: 8.922 kB / 1.019 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3106, allocations: 8.828 kB / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3107, allocations: 176.2 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.3107, allocations: 384 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3108, allocations: 384 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.311, allocations: 59.75 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.311, allocations: 4.125 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.311, allocations: 3.938 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.311, allocations: 0 / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.3112, allocations: 31.97 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.3116, allocations: 245 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.3118, allocations: 42.5 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.3119, allocations: 24.91 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3119, allocations: 3.984 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3119, allocations: 34.5 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3119, allocations: 0 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.3123, allocations: 81.66 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3124, allocations: 55.39 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.3125, allocations: 97.86 kB / 1.02 GB, free: 7.941 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3125, allocations: 25.7 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.3125, allocations: 84.14 kB / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3126, allocations: 3.906 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3126, allocations: 17.83 kB / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3128, allocations: 318.8 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.3128, allocations: 11.98 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.3129, allocations: 19.92 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.3131, allocations: 40.88 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3131, allocations: 4 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.3133, allocations: 69.52 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3133, allocations: 7.984 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3134, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3134, allocations: 3.938 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.3135, allocations: 8 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3135, allocations: 3.984 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.3136, allocations: 12.02 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3136, allocations: 0 / 1.021 GB, free: 7.289 MB / 0.795 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 0.000162/0.3137, allocations: 117.7 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.3138, allocations: 4 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.3138, allocations: 7.109 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3138, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3138, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3138, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.314, allocations: 157.6 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.314, allocations: 4 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.3141, allocations: 19.92 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3141, allocations: 0 / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3141, allocations: 0 / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3141, allocations: 0 / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3141, allocations: 0 / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.3144, allocations: 167.5 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.3144, allocations: 81.11 kB / 1.021 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.3145, allocations: 0 / 1.021 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.3146, allocations: 7.984 kB / 1.021 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3146, allocations: 0 / 1.021 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3146, allocations: 3.938 kB / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.3147, allocations: 91.44 kB / 1.021 GB, free: 6.547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3147, allocations: 0 / 1.021 GB, free: 6.547 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002091/0.3149, allocations: 4 kB / 1.021 GB, free: 6.543 MB / 0.795 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.0002018/0.3151, allocations: 103.8 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3153, allocations: 31.97 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3153, allocations: 0 / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.712e-05/0.3154, allocations: 23.97 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3157, allocations: 5.766 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.316, allocations: 151.2 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3164, allocations: 0.6729 MB / 1.022 GB, free: 5.496 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.3164, allocations: 15.42 kB / 1.022 GB, free: 5.48 MB / 0.795 GB Notification: Performance of SimCode: time 2.094e-06/0.3164, allocations: 0 / 1.022 GB, free: 5.48 MB / 0.795 GB Notification: Performance of Templates: time 0.001972/0.3184, allocations: 0.5462 MB / 1.023 GB, free: 4.938 MB / 0.795 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=400 -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