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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002296/0.002297, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.62/2.62, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7736/0.7752, allocations: 140.4 MB / 0.9491 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002319/0.7775, allocations: 0.7286 MB / 0.9498 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000944/0.7785, allocations: 0.8027 MB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.7786, allocations: 1.375 kB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.7786, allocations: 3.938 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.7787, allocations: 0 / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.7789, allocations: 10.73 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.558e-05/0.779, allocations: 28.17 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.7791, allocations: 8.125 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.7792, allocations: 2.75 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.7792, allocations: 14.67 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.7793, allocations: 6.688 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.7793, allocations: 1.375 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.7793, allocations: 5.359 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.7793, allocations: 9.312 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.045e-05/0.7794, allocations: 24.02 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7794, allocations: 0 / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7794, allocations: 5.375 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.7795, allocations: 0 / 0.9507 GB, free: 7.863 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.0004714/0.7799, allocations: 337.8 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.78, allocations: 9.625 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.78, allocations: 2.312 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.7801, allocations: 169.6 kB / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.7802, allocations: 5.75 kB / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.7802, allocations: 1.75 kB / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.7804, allocations: 53.23 kB / 0.9513 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7804, allocations: 192 / 0.9513 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.7804, allocations: 3.938 kB / 0.9513 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7804, allocations: 1.375 kB / 0.9513 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.7806, allocations: 33.83 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.7809, allocations: 241.2 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.781, allocations: 46.81 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.7811, allocations: 22.45 kB / 0.9516 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.7811, allocations: 1.375 kB / 0.9516 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.7811, allocations: 31.94 kB / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7811, allocations: 0 / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.7815, allocations: 88.55 kB / 0.9517 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.7815, allocations: 51.41 kB / 0.9518 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.7816, allocations: 99.64 kB / 0.9519 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.7816, allocations: 25.7 kB / 0.9519 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.7816, allocations: 85.5 kB / 0.952 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.7816, allocations: 11.84 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.7817, allocations: 16.31 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.7817, allocations: 312.1 kB / 0.9523 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.7818, allocations: 17.42 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.7819, allocations: 21.09 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.782, allocations: 39.8 kB / 0.9524 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.782, allocations: 0 / 0.9524 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001624/0.7822, allocations: 76.66 kB / 0.9524 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.7822, allocations: 5.562 kB / 0.9525 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7822, allocations: 0 / 0.9525 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7822, allocations: 0 / 0.9525 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.7823, allocations: 10.17 kB / 0.9525 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7823, allocations: 5.812 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.7824, allocations: 6.75 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.7824, allocations: 0 / 0.9525 GB, free: 6.047 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.467e-05/0.7825, allocations: 116.5 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.7825, allocations: 5.156 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.7825, allocations: 7.125 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7825, allocations: 5.469 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7825, allocations: 0 / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7825, allocations: 0 / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.7826, allocations: 162 kB / 0.9528 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7827, allocations: 5.594 kB / 0.9528 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.7827, allocations: 9.578 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7827, allocations: 192 / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.7827, allocations: 0 / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7827, allocations: 1.312 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7827, allocations: 0 / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.7829, allocations: 171.3 kB / 0.9529 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.783, allocations: 78.45 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.783, allocations: 4 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.7831, allocations: 8.172 kB / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.7831, allocations: 1.344 kB / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.7831, allocations: 0 / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.39e-05/0.7831, allocations: 83.36 kB / 0.9531 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.12e-07/0.7831, allocations: 0 / 0.9531 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002055/0.7834, allocations: 3.719 kB / 0.9531 GB, free: 5.359 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.0001176/0.7835, allocations: 105.2 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.7837, allocations: 42.08 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7837, allocations: 0 / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.7838, allocations: 19.36 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.7841, allocations: 12.19 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.7844, allocations: 108.2 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.7845, allocations: 0.6817 MB / 0.954 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.7846, allocations: 0 / 0.954 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.7846, allocations: 8.656 kB / 0.9541 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7846, allocations: 1.25 kB / 0.9541 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of Templates: time 0.002361/0.787, allocations: 395.1 kB / 0.9544 GB, free: 4.199 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/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