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.001484/0.001484, allocations: 115.9 kB / 16.42 MB, free: 6.473 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.001641/0.001641, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.225/2.225, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 71.88 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9438/0.9452, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001981/0.9473, allocations: 0.671 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.9482, allocations: 0.7986 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.9482, allocations: 1.094 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.9483, allocations: 3.938 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.9483, allocations: 1.859 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.9485, allocations: 6.359 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.9485, allocations: 31.66 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.9487, allocations: 8.703 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.9487, allocations: 4.844 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.9488, allocations: 17.62 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.9488, allocations: 2.188 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-06/0.9488, allocations: 1.75 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.9488, allocations: 6.234 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.9489, allocations: 6.922 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.315e-05/0.9489, allocations: 25.08 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.949, allocations: 8.844 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.949, allocations: 0 / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.949, allocations: 0 / 1.09 GB, free: 4.43 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.0003986/0.9494, allocations: 329 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.9494, allocations: 8.719 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.9495, allocations: 10.72 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/0.9496, allocations: 166.4 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.9496, allocations: 1.5 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.9496, allocations: 1.562 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.9498, allocations: 53.5 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.9498, allocations: 4.188 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.9498, allocations: 5.219 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.9498, allocations: 0 / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.95, allocations: 36.73 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.9503, allocations: 242.6 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.9505, allocations: 48.19 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.9506, allocations: 20.45 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.9506, allocations: 0 / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.9506, allocations: 40.25 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9506, allocations: 1.125 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000358/0.951, allocations: 82.97 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.951, allocations: 52.44 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.9511, allocations: 101.3 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.9511, allocations: 25.7 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.9512, allocations: 89.7 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.9512, allocations: 1.766 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.9512, allocations: 16.77 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.9513, allocations: 312.6 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.9514, allocations: 18.02 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.9514, allocations: 14.52 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.9516, allocations: 45.56 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9516, allocations: 3.938 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002224/0.9518, allocations: 70.97 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9519, allocations: 5.906 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.9519, allocations: 1.312 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.9519, allocations: 0 / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.952, allocations: 13.61 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.952, allocations: 0 / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.9521, allocations: 10.31 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.9521, allocations: 0.5625 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 5.25e-05/0.9521, allocations: 108.3 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.9522, allocations: 5.25 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.9522, allocations: 9.234 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9522, allocations: 5.172 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9522, allocations: 0 / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.9522, allocations: 79.52 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.9523, allocations: 0 / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.9523, allocations: 10.97 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.9524, allocations: 2.266 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002384/0.9526, allocations: 158.4 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002206/0.9529, allocations: 234.2 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.097e-05/0.953, allocations: 20.28 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.48e-05/0.953, allocations: 80.25 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of Backend: time 1.7e-07/0.953, allocations: 3.938 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004455/0.9534, allocations: 97.59 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003975/0.9539, allocations: 0.556 MB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of Templates: time 0.002916/0.9568, allocations: 0.5427 MB / 1.094 GB, free: 1.352 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