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.001586/0.001586, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001696/0.001696, allocations: 189.7 kB / 17.35 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.15 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.349/2.349, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9046/0.906, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001773/0.9078, allocations: 0.6613 MB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.9086, allocations: 0.7987 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.9087, allocations: 1.25 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.9087, allocations: 4.453 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.9088, allocations: 0 / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.9089, allocations: 8.375 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.448e-05/0.909, allocations: 29.12 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.9091, allocations: 4.344 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.9092, allocations: 16.7 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.9092, allocations: 13.5 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.9092, allocations: 2.625 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-06/0.9092, allocations: 2.188 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.9092, allocations: 0.7969 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.9093, allocations: 11.38 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.671e-05/0.9094, allocations: 20.92 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9094, allocations: 5.062 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9094, allocations: 0 / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.9094, allocations: 0 / 1.09 GB, free: 4.426 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.0003386/0.9097, allocations: 337.2 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.9098, allocations: 8.812 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.9098, allocations: 6.609 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.9099, allocations: 167.5 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.9099, allocations: 1.625 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.9099, allocations: 1.188 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.9101, allocations: 53.06 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.9101, allocations: 192 / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.9101, allocations: 8.641 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.9101, allocations: 5.094 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.9103, allocations: 32.53 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.9105, allocations: 250 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.9107, allocations: 43.95 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.768e-05/0.9108, allocations: 29.03 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.9108, allocations: 0 / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.9108, allocations: 32.28 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.9108, allocations: 0 / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003268/0.9111, allocations: 84.41 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.9112, allocations: 55.44 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.364e-05/0.9112, allocations: 101.6 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.9112, allocations: 26.92 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.9113, allocations: 84.56 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.9113, allocations: 1.891 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.9113, allocations: 17.67 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.9114, allocations: 312.7 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.9114, allocations: 17.52 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.9115, allocations: 18.62 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.9117, allocations: 37.22 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9117, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.9119, allocations: 79.69 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.9119, allocations: 5.219 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.9119, allocations: 4.547 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.9119, allocations: 0.9375 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.912, allocations: 7.922 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.912, allocations: 5.844 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.9121, allocations: 9.375 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.9121, allocations: 1.797 kB / 1.092 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 5.316e-05/0.9121, allocations: 119.9 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.9122, allocations: 1.344 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.9122, allocations: 5.078 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9122, allocations: 0.6562 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.9122, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.9122, allocations: 1.312 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.9123, allocations: 159.5 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.9124, allocations: 0 / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.9124, allocations: 9.312 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.9124, allocations: 0 / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.9124, allocations: 9.688 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9124, allocations: 0 / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9124, allocations: 1 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.9127, allocations: 162.2 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.9127, allocations: 86.55 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.9127, allocations: 1.656 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.9128, allocations: 9.703 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.9128, allocations: 2.891 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.9128, allocations: 5.125 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.9129, allocations: 84.25 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9129, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002127/0.9131, allocations: 3.375 kB / 1.093 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.0001297/0.9132, allocations: 101 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.9135, allocations: 41.62 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9135, allocations: 1.25 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.9136, allocations: 19.36 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.9138, allocations: 9.312 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.9141, allocations: 127 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.9142, allocations: 0.6802 MB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.9143, allocations: 8.594 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9143, allocations: 5.062 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.002156/0.9164, allocations: 0.5454 MB / 1.094 GB, free: 1.062 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