Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01011/0.01011, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.002092/0.002092, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.384/1.384, 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 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.9509 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001815/1.027, allocations: 0.6593 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000926/1.028, allocations: 0.7981 MB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/1.028, allocations: 1.25 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/1.028, allocations: 3.938 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.008e-05/1.028, allocations: 4.547 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/1.028, allocations: 13.03 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.392e-05/1.028, allocations: 28.27 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/1.028, allocations: 8.5 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/1.028, allocations: 8.328 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/1.028, allocations: 10.33 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/1.028, allocations: 2.156 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/1.028, allocations: 1.156 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/1.028, allocations: 5.906 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/1.028, allocations: 11.38 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.568e-05/1.028, allocations: 21.41 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.028, allocations: 7.938 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.041e-06/1.028, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.101e-06/1.028, allocations: 1.125 kB / 1.09 GB, free: 4.422 MB / 0.8575 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.0004261/1.029, allocations: 332.3 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.029, allocations: 9.25 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/1.029, allocations: 7.031 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/1.029, allocations: 171.1 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/1.029, allocations: 1.469 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/1.029, allocations: 5.531 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/1.029, allocations: 52.98 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.029, allocations: 192 / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/1.029, allocations: 8.531 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.029, allocations: 1.094 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/1.03, allocations: 31.88 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/1.03, allocations: 246.2 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/1.03, allocations: 44.77 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/1.03, allocations: 27.48 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/1.03, allocations: 1.062 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/1.03, allocations: 36.53 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.03, allocations: 0 / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003494/1.03, allocations: 83.8 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/1.03, allocations: 51.97 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/1.031, allocations: 97.56 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/1.031, allocations: 29.7 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/1.031, allocations: 85.94 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/1.031, allocations: 3.078 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/1.031, allocations: 15.67 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.484e-05/1.031, allocations: 316.6 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/1.031, allocations: 17.81 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/1.031, allocations: 18.23 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/1.031, allocations: 41.62 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.031, allocations: 0 / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/1.031, allocations: 72.03 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.031, allocations: 5.109 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.031, allocations: 0.8438 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.031, allocations: 0.8438 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/1.031, allocations: 13.09 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.031, allocations: 0 / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/1.031, allocations: 10.14 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/1.031, allocations: 5.25 kB / 1.091 GB, free: 2.703 MB / 0.8575 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 5.958e-05/1.032, allocations: 116 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/1.032, allocations: 1.688 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/1.032, allocations: 4.75 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.032, allocations: 0 / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.032, allocations: 1.891 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.032, allocations: 0 / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/1.032, allocations: 159.8 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.032, allocations: 4 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/1.032, allocations: 9.281 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.032, allocations: 0 / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.032, allocations: 1.188 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.032, allocations: 0.6094 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.032, allocations: 0.9688 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/1.032, allocations: 170.5 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/1.032, allocations: 83.12 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/1.032, allocations: 192 / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/1.032, allocations: 11.02 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/1.032, allocations: 7.359 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/1.032, allocations: 0 / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.724e-05/1.032, allocations: 85.09 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.032, allocations: 0 / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002081/1.032, allocations: 2.531 kB / 1.092 GB, free: 2.047 MB / 0.8575 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.0001669/1.033, allocations: 103.9 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000213/1.033, allocations: 35.62 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.033, allocations: 0 / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.394e-05/1.033, allocations: 19.66 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.033, allocations: 15.47 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/1.034, allocations: 109.4 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/1.034, allocations: 0.6804 MB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.331e-05/1.034, allocations: 1.094 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/1.034, allocations: 8.531 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of SimCode: time 1.343e-06/1.034, allocations: 0 / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of Templates: time 0.0028/1.037, allocations: 451.2 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches