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.001405/0.001405, allocations: 107.1 kB / 16.41 MB, free: 6.406 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.001423/0.001423, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.272/2.272, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.89 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.865/0.8665, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001764/0.8683, allocations: 0.657 MB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000806/0.8691, allocations: 0.8027 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.8692, allocations: 1.094 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.8692, allocations: 4.516 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.8693, allocations: 5.156 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.8694, allocations: 7.812 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.8695, allocations: 27.84 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.8696, allocations: 4.625 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.8697, allocations: 9.422 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.8697, allocations: 13.88 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.8698, allocations: 2.125 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.8698, allocations: 2.094 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.8698, allocations: 9.062 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.8698, allocations: 11.28 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.141e-05/0.8699, allocations: 20.7 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8699, allocations: 1.062 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8699, allocations: 0 / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.8699, allocations: 0 / 1.09 GB, free: 4.438 MB / 0.8575 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.0003653/0.8703, allocations: 332.6 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.8704, allocations: 10.33 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.8704, allocations: 9.906 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.535e-05/0.8705, allocations: 171.4 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.8705, allocations: 5.406 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.8705, allocations: 1.25 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.8707, allocations: 53.17 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.8707, allocations: 192 / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.8707, allocations: 5.922 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8707, allocations: 0 / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.8709, allocations: 31.97 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.8711, allocations: 246.7 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.8713, allocations: 48.5 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.8714, allocations: 19.3 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.8714, allocations: 0.9062 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.8714, allocations: 40.23 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.8714, allocations: 0 / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003351/0.8717, allocations: 80.2 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.8718, allocations: 53.02 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.8718, allocations: 104.1 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.8718, allocations: 26.55 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.8719, allocations: 89.59 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.8719, allocations: 5.578 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.8719, allocations: 12.78 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.872, allocations: 313.1 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.8721, allocations: 17.95 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.8721, allocations: 14.88 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.8723, allocations: 41.28 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8723, allocations: 0 / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.8725, allocations: 75.89 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8725, allocations: 5 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8725, allocations: 3.938 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.8725, allocations: 0.7031 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.8726, allocations: 17.61 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.8726, allocations: 0 / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.8727, allocations: 6.453 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.8727, allocations: 1.188 kB / 1.092 GB, free: 2.719 MB / 0.8575 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.5e-05/0.8728, allocations: 114.5 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.8728, allocations: 5.922 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.8728, allocations: 7.828 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8728, allocations: 2.141 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8728, allocations: 4 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.8728, allocations: 0 / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.8729, allocations: 163.8 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.873, allocations: 3.938 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.873, allocations: 9.109 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.873, allocations: 1.156 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.873, allocations: 0.7969 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.873, allocations: 1 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.873, allocations: 0 / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.8733, allocations: 166.8 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.8733, allocations: 83 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.8733, allocations: 5.125 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.8734, allocations: 5.5 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.8734, allocations: 3.266 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.8734, allocations: 1.125 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.197e-05/0.8734, allocations: 84.34 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8735, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002083/0.8737, allocations: 3.25 kB / 1.093 GB, free: 2.059 MB / 0.8575 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.000117/0.8738, allocations: 99.23 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.874, allocations: 40.42 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.874, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.8741, allocations: 23.28 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.8744, allocations: 10.09 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.8747, allocations: 136.1 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.8749, allocations: 0.6758 MB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.8749, allocations: 8.469 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8749, allocations: 3.938 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Templates: time 0.002317/0.8772, allocations: 0.5503 MB / 1.094 GB, free: 1.074 MB / 0.8575 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