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.001259/0.001259, allocations: 108 kB / 15.61 MB, free: 152 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.001428/0.001428, allocations: 196 kB / 16.53 MB, free: 6.664 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.534/1.534, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.465/2.465, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8713/0.8728, allocations: 140.3 MB / 0.9496 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002199/0.875, allocations: 0.6676 MB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.8759, allocations: 0.803 MB / 0.951 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.876, allocations: 0 / 0.951 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.876, allocations: 3.938 kB / 0.951 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.8761, allocations: 5.156 kB / 0.951 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.8763, allocations: 13.23 kB / 0.9511 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.8763, allocations: 14.31 kB / 0.9511 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.8765, allocations: 10.77 kB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.8765, allocations: 10.38 kB / 0.9511 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.8766, allocations: 19.69 kB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.8766, allocations: 2.344 kB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.8766, allocations: 1.438 kB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.8767, allocations: 5.312 kB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.8767, allocations: 9.344 kB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.454e-05/0.8768, allocations: 27.73 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8768, allocations: 1.375 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8768, allocations: 0 / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.8768, allocations: 0 / 0.9511 GB, free: 8.008 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.0004301/0.8772, allocations: 339.9 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.8773, allocations: 9.719 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.8773, allocations: 2.219 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.8775, allocations: 166 kB / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.8775, allocations: 4.375 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.8775, allocations: 1.906 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.8777, allocations: 50.02 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.8777, allocations: 192 / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8777, allocations: 3.938 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.8777, allocations: 5.375 kB / 0.9517 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.8779, allocations: 37.67 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.8782, allocations: 245.9 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.8783, allocations: 38 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.8784, allocations: 26.77 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.8784, allocations: 1.656 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.8785, allocations: 38.5 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8785, allocations: 1.406 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003377/0.8788, allocations: 75.64 kB / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.8789, allocations: 56.75 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.886e-05/0.8789, allocations: 93.77 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.8789, allocations: 26.86 kB / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.879, allocations: 89.55 kB / 0.9524 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.879, allocations: 13.02 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.879, allocations: 10.94 kB / 0.9524 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.8791, allocations: 315.9 kB / 0.9527 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.8792, allocations: 13.64 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.8792, allocations: 26.44 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.8794, allocations: 46.02 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8794, allocations: 1.312 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.8796, allocations: 67.25 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.8796, allocations: 5.5 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8796, allocations: 0 / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.8796, allocations: 5.375 kB / 0.9529 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.8797, allocations: 9.625 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8797, allocations: 3.984 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.8798, allocations: 4.188 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.8798, allocations: 1.406 kB / 0.9529 GB, free: 6.191 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 6.406e-05/0.8799, allocations: 111.2 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.8799, allocations: 9.469 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.8799, allocations: 11.09 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.8799, allocations: 1.406 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.88, allocations: 3.938 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.88, allocations: 4 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.8801, allocations: 162.1 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8801, allocations: 1.438 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.8802, allocations: 9.328 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.8802, allocations: 0 / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.8802, allocations: 1.344 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.8802, allocations: 0 / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8802, allocations: 0 / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.8804, allocations: 168.2 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.8805, allocations: 77.11 kB / 0.9534 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.8805, allocations: 0.6562 kB / 0.9534 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.8806, allocations: 7.672 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.8807, allocations: 5.094 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.8807, allocations: 0.8438 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.8807, allocations: 86.52 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.383e-06/0.8808, allocations: 4.969 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003479/0.8811, allocations: 7.156 kB / 0.9535 GB, free: 5.492 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.000161/0.8813, allocations: 97.72 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.8816, allocations: 33.5 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8816, allocations: 0 / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.8818, allocations: 32.41 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.8822, allocations: 6.938 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.8826, allocations: 110.2 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.8828, allocations: 0.6843 MB / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.8828, allocations: 1.031 kB / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.8828, allocations: 8.625 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8829, allocations: 4.062 kB / 0.9545 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of Templates: time 0.003641/0.8865, allocations: 437.8 kB / 0.9549 GB, free: 4.32 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