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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00133/0.00133, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 200.7 kB / 16.79 MB, free: 6.809 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.2 MB / 0.6649 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 72.12 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.7611, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002408/0.7636, allocations: 0.7248 MB / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.7648, allocations: 0.8022 MB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.7648, allocations: 1.375 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.7649, allocations: 0 / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.122e-05/0.765, allocations: 3.938 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.7652, allocations: 10.73 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.7653, allocations: 20.17 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.7654, allocations: 12.12 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.7655, allocations: 6.734 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.7656, allocations: 10.69 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.7656, allocations: 1.375 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.7656, allocations: 1.375 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.7656, allocations: 3.984 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.7657, allocations: 10.69 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.37e-05/0.7658, allocations: 14.72 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.7658, allocations: 1.375 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7658, allocations: 0 / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.7658, allocations: 4 kB / 0.9512 GB, free: 7.902 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.0004291/0.7662, allocations: 335.2 kB / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7663, allocations: 9.031 kB / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.7663, allocations: 5.938 kB / 0.9515 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.7664, allocations: 169.4 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.7664, allocations: 5.547 kB / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.7664, allocations: 1.375 kB / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.7666, allocations: 53.44 kB / 0.9517 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.7667, allocations: 4.125 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7667, allocations: 5 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.7667, allocations: 0 / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.7669, allocations: 34.73 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.7672, allocations: 245.3 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.7674, allocations: 46.59 kB / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.7675, allocations: 23.62 kB / 0.9521 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.7675, allocations: 0 / 0.9521 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.7675, allocations: 35.97 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7675, allocations: 0 / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000386/0.7679, allocations: 80.89 kB / 0.9522 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.768, allocations: 55.34 kB / 0.9523 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/0.768, allocations: 102.8 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.768, allocations: 25.7 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.7681, allocations: 85.3 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.7681, allocations: 9.156 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.7681, allocations: 11.69 kB / 0.9525 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.7682, allocations: 316.1 kB / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.7683, allocations: 26.09 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.7684, allocations: 12.89 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.7685, allocations: 40.17 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7685, allocations: 0 / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001939/0.7687, allocations: 72.91 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.7687, allocations: 3.719 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7688, allocations: 1.594 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7688, allocations: 0 / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.7689, allocations: 9.859 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.7689, allocations: 0 / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.7689, allocations: 11.61 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.769, allocations: 5.406 kB / 0.953 GB, free: 6.078 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 5.906e-05/0.769, allocations: 111.4 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.769, allocations: 5.344 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.7691, allocations: 7.125 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7691, allocations: 1.406 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7691, allocations: 0 / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7691, allocations: 5.422 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.7692, allocations: 166.1 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7692, allocations: 0 / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.7693, allocations: 9.906 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7693, allocations: 0 / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.7693, allocations: 5.328 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7693, allocations: 0 / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7693, allocations: 0 / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.7696, allocations: 163.6 kB / 0.9534 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.7696, allocations: 82.58 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.7696, allocations: 3.938 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.7697, allocations: 4.062 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.7697, allocations: 5.266 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.7698, allocations: 4 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.116e-05/0.7698, allocations: 78.59 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7698, allocations: 0 / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002135/0.77, allocations: 8.656 kB / 0.9536 GB, free: 5.391 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.0001218/0.7701, allocations: 102.1 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.7704, allocations: 41.11 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7704, allocations: 0 / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.7705, allocations: 15.3 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.7708, allocations: 10.19 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.7711, allocations: 138 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.7712, allocations: 0.6808 MB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.7712, allocations: 9.062 kB / 0.9545 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7712, allocations: 0 / 0.9545 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of Templates: time 0.001855/0.7731, allocations: 0.5356 MB / 0.9551 GB, free: 4.145 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