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.001115/0.001115, allocations: 105 kB / 15.98 MB, free: 6.77 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.001051/0.001051, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.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.505/2.505, allocations: 390.2 MB / 0.665 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.89 kB / 0.8127 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6931, allocations: 140.3 MB / 0.9498 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001921/0.6951, allocations: 0.7293 MB / 0.9505 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.6958, allocations: 0.803 MB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.6958, allocations: 0 / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.6959, allocations: 0 / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.696, allocations: 9.156 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.6961, allocations: 9.172 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.6962, allocations: 17 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.6963, allocations: 12.05 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.6963, allocations: 10.86 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.734e-05/0.6964, allocations: 10.67 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.6964, allocations: 2.969 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-06/0.6964, allocations: 1.5 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.6964, allocations: 4 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.6965, allocations: 10.91 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.989e-05/0.6965, allocations: 14.97 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6965, allocations: 0 / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6965, allocations: 1.375 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6965, allocations: 0 / 0.9514 GB, free: 7.867 MB / 0.7169 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.0003542/0.6969, allocations: 337.6 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.6969, allocations: 9.562 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.697, allocations: 2.312 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.869e-05/0.697, allocations: 169.7 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.6971, allocations: 5.75 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.6971, allocations: 5.75 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.6972, allocations: 45.23 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6972, allocations: 4.125 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.6973, allocations: 13.3 kB / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.6973, allocations: 0 / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.6974, allocations: 31.22 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.6977, allocations: 247.8 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.6978, allocations: 44.19 kB / 0.9523 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.6979, allocations: 18.47 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.6979, allocations: 0 / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.698, allocations: 39.88 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.698, allocations: 0 / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003182/0.6983, allocations: 79.89 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.6983, allocations: 52.78 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/0.6984, allocations: 103.3 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.6984, allocations: 25.7 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.6984, allocations: 85.64 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.6984, allocations: 15.77 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.6985, allocations: 16.47 kB / 0.9527 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.6985, allocations: 316.2 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.6986, allocations: 16.23 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.6987, allocations: 17.55 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.6988, allocations: 44.12 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6988, allocations: 0 / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001702/0.699, allocations: 64.98 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.699, allocations: 4.125 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.699, allocations: 1.375 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6991, allocations: 0 / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.6991, allocations: 17.52 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.6992, allocations: 5.375 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.6992, allocations: 8.109 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.6992, allocations: 0 / 0.9531 GB, free: 6.039 MB / 0.7169 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 4.499e-05/0.6993, allocations: 116.1 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.6993, allocations: 5.062 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.6993, allocations: 3.125 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6993, allocations: 0.9375 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6993, allocations: 0 / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6993, allocations: 5.5 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.6995, allocations: 165.6 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6995, allocations: 0 / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.6995, allocations: 10.52 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6995, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.6996, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6996, allocations: 5.125 kB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6996, allocations: 0 / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.6998, allocations: 163.3 kB / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.6998, allocations: 78.23 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.6998, allocations: 1.094 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.6999, allocations: 11.42 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.6999, allocations: 5.531 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.6999, allocations: 0 / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.7, allocations: 78.62 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7, allocations: 4.031 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002205/0.7002, allocations: 4.156 kB / 0.9538 GB, free: 5.355 MB / 0.7169 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.0001092/0.7003, allocations: 101.5 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.7005, allocations: 37.31 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7005, allocations: 0 / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.7006, allocations: 19.3 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.7009, allocations: 14.42 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.7012, allocations: 139 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.727e-05/0.7013, allocations: 0.6768 MB / 0.9547 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.7013, allocations: 8.594 kB / 0.9547 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7013, allocations: 0 / 0.9547 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of Templates: time 0.001738/0.7031, allocations: 0.5544 MB / 0.9553 GB, free: 4.098 MB / 0.7169 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/jenkins1/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