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.001134/0.001134, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.001189/0.001189, allocations: 188.1 kB / 17.34 MB, free: 5.738 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.46/2.46, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.708, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002746/0.7108, allocations: 0.6728 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009522/0.7118, allocations: 0.8 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.7119, allocations: 0 / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.7119, allocations: 3.938 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.712, allocations: 8 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.7121, allocations: 11.92 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.7122, allocations: 19.98 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.7123, allocations: 4 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.7124, allocations: 11.98 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.7124, allocations: 11.94 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.7125, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.7125, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.7125, allocations: 3.984 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.7125, allocations: 19.86 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.304e-05/0.7126, allocations: 19.91 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7127, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7127, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.7127, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 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.0004912/0.7132, allocations: 335.5 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.7132, allocations: 8.031 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.7133, allocations: 4.938 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.7134, allocations: 164.2 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.7134, allocations: 4.375 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.7134, allocations: 4.375 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.7136, allocations: 46.23 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7136, allocations: 3.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.7137, allocations: 4 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7137, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.7138, allocations: 35.89 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.7142, allocations: 248.9 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.7144, allocations: 46.53 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.7145, allocations: 24.91 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.7145, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.7145, allocations: 34.56 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.7145, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003422/0.7149, allocations: 89.48 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.7149, allocations: 51.41 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.715, allocations: 101.8 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.715, allocations: 37.64 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.7151, allocations: 84.27 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.7151, allocations: 3.906 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.7151, allocations: 13.72 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7152, allocations: 314.8 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.7153, allocations: 15.97 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.7154, allocations: 19.98 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.7156, allocations: 40.83 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.7156, allocations: 3.938 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.7158, allocations: 65.66 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7158, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.7158, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7158, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.7159, allocations: 12.02 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.7159, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.716, allocations: 7.984 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.716, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 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.843e-05/0.7161, allocations: 117.8 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.7161, allocations: 0 / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.7161, allocations: 3.125 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7162, allocations: 0 / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.7162, allocations: 4 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7162, allocations: 4 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.7163, allocations: 161.6 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7163, allocations: 4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.7164, allocations: 7.938 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7164, allocations: 0 / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.7164, allocations: 4 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.7164, allocations: 3.984 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7164, allocations: 0 / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.7167, allocations: 163.5 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.7167, allocations: 85 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.7167, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.7168, allocations: 7.938 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.7169, allocations: 3.984 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.7169, allocations: 4 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.453e-05/0.7169, allocations: 83.22 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7169, allocations: 4.031 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002077/0.7171, allocations: 4 kB / 1.212 GB, free: 9.277 MB / 0.9356 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.0001319/0.7173, allocations: 103.2 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.7175, allocations: 35.95 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7175, allocations: 0 / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.7176, allocations: 24.05 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.7179, allocations: 11.8 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.7182, allocations: 135.2 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.7184, allocations: 0.6768 MB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.7184, allocations: 7.438 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7184, allocations: 0 / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of Templates: time 0.001772/0.7202, allocations: 0.5453 MB / 1.214 GB, free: 7.676 MB / 0.9356 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