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.001202/0.001206, allocations: 108.3 kB / 16.27 MB, free: 6.41 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.001184/0.001184, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.64 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3458, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00283/0.3487, allocations: 0.6593 MB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3499, allocations: 0.804 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.35, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.3501, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.405e-05/0.3502, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.3503, allocations: 15.92 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.448e-05/0.3504, allocations: 20 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3505, allocations: 11.97 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.3506, allocations: 11.94 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.3507, allocations: 11.98 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3507, allocations: 4 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.3507, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.3507, allocations: 7.875 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.3508, allocations: 8 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.113e-05/0.3509, allocations: 23.89 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3509, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3509, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3509, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 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.0005564/0.3515, allocations: 335.8 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3515, allocations: 8.031 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.3516, allocations: 4.844 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3517, allocations: 172.3 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3517, allocations: 384 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3518, allocations: 4.359 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.352, allocations: 50.23 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.352, allocations: 192 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.352, allocations: 3.938 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.352, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.3522, allocations: 39.89 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.3526, allocations: 249 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3528, allocations: 38.44 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3529, allocations: 28.89 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3529, allocations: 4 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.353, allocations: 30.56 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.353, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004176/0.3534, allocations: 85.58 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3535, allocations: 55.53 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.3536, allocations: 97.86 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3536, allocations: 25.7 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.3536, allocations: 88.03 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.3537, allocations: 4 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.3537, allocations: 13.72 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3539, allocations: 314.8 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.354, allocations: 15.98 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.3541, allocations: 19.97 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3542, allocations: 40.77 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3542, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000214/0.3544, allocations: 77.56 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3545, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3545, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3545, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3546, allocations: 11.98 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3546, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.3547, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3547, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 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 8.699e-05/0.3548, allocations: 114.3 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.3548, allocations: 12.02 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.3549, allocations: 3.125 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3549, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3549, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3549, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.3551, allocations: 157.6 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3551, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.3552, allocations: 19.86 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3552, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3552, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3552, allocations: 11.94 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3552, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3555, allocations: 163.5 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3555, allocations: 85.02 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3555, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.3556, allocations: 7.984 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.3557, allocations: 8.031 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3557, allocations: 192 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.3558, allocations: 87.25 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3558, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002177/0.356, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 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.0001579/0.3561, allocations: 95.25 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3564, allocations: 51.89 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3564, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.3565, allocations: 19.98 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3568, allocations: 3.938 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.3573, allocations: 131.2 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3576, allocations: 0.6808 MB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.3576, allocations: 15.44 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3577, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of Templates: time 0.002319/0.36, allocations: 0.5388 MB / 1.07 GB, free: 9.023 MB / 0.8419 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