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.01107/0.01107, allocations: 103.6 kB / 15.73 MB, free: 6.008 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.002111/0.002111, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.48/1.48, allocations: 222.9 MB / 240.3 MB, free: 15.07 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.479/2.479, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.91 kB / 0.9509 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.12, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002042/1.122, allocations: 0.6665 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009489/1.123, allocations: 0.7977 MB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/1.123, allocations: 1.156 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/1.123, allocations: 4.594 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/1.123, allocations: 1 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/1.124, allocations: 16.38 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.751e-05/1.124, allocations: 20.31 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/1.124, allocations: 4.469 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/1.124, allocations: 16.75 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/1.124, allocations: 13.67 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/1.124, allocations: 1.75 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/1.124, allocations: 2.156 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/1.124, allocations: 6.188 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/1.124, allocations: 11.41 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.991e-05/1.124, allocations: 20 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.124, allocations: 0.9375 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/1.124, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.67e-06/1.124, allocations: 0 / 1.09 GB, free: 4.422 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.000448/1.125, allocations: 336.9 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.125, allocations: 9.188 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/1.125, allocations: 6.484 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/1.125, allocations: 168.4 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.125, allocations: 1.031 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/1.125, allocations: 5.625 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/1.125, allocations: 48.41 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.125, allocations: 192 / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/1.125, allocations: 12.78 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/1.125, allocations: 0.75 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/1.125, allocations: 40.81 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/1.126, allocations: 241.9 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/1.126, allocations: 49.17 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/1.126, allocations: 19.38 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/1.126, allocations: 1.125 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/1.126, allocations: 39.3 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.126, allocations: 1.25 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004916/1.127, allocations: 83.98 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/1.127, allocations: 51.41 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.127, allocations: 101.9 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/1.127, allocations: 25.7 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/1.127, allocations: 85.97 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/1.127, allocations: 1.891 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/1.127, allocations: 15.91 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.127, allocations: 313.1 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/1.127, allocations: 21.67 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/1.127, allocations: 15.28 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/1.128, allocations: 41.62 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.128, allocations: 0 / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002352/1.128, allocations: 74.91 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.128, allocations: 9.891 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.128, allocations: 0 / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.128, allocations: 0 / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/1.128, allocations: 10.17 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.128, allocations: 0.7969 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/1.128, allocations: 9.766 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/1.128, allocations: 0 / 1.091 GB, free: 2.703 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 0.0001012/1.128, allocations: 118.1 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/1.128, allocations: 0 / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/1.128, allocations: 5.094 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.128, allocations: 4.688 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.128, allocations: 0 / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.128, allocations: 2.156 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/1.129, allocations: 162.5 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.129, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/1.129, allocations: 13.36 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/1.129, allocations: 1.156 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.129, allocations: 4 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.129, allocations: 5.672 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.129, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/1.129, allocations: 158.6 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/1.129, allocations: 83.03 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/1.129, allocations: 0.6094 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/1.129, allocations: 14.2 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/1.129, allocations: 3.016 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/1.129, allocations: 1.125 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.893e-05/1.129, allocations: 79.89 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.129, allocations: 3.938 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00022/1.13, allocations: 3.25 kB / 1.092 GB, free: 2.043 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.0002567/1.13, allocations: 98.86 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002743/1.13, allocations: 43.42 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.13, allocations: 1.094 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/1.13, allocations: 16.8 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/1.131, allocations: 8.531 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/1.131, allocations: 109.5 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/1.131, allocations: 0.6833 MB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.713e-05/1.131, allocations: 5.625 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/1.131, allocations: 8.594 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/1.131, allocations: 1.188 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of Templates: time 0.003303/1.135, allocations: 461 kB / 1.093 GB, free: 1.043 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/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