Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.471/2.471, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 180 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.2 MB / 0.7992 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 103.1 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 15.02 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.5016, allocations: 149.6 MB / 1.375 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5019, allocations: 71.95 kB / 1.375 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.001873/0.5038, allocations: 0.6142 MB / 1.376 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5039, allocations: 0 / 1.376 GB, free: 15 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.5039, allocations: 0 / 1.376 GB, free: 15 MB / 0.8855 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.000463/0.5043, allocations: 347.3 kB / 1.376 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5044, allocations: 8.031 kB / 1.376 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.5044, allocations: 3.906 kB / 1.376 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.5046, allocations: 167 kB / 1.376 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5046, allocations: 4 kB / 1.376 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.5046, allocations: 3.984 kB / 1.376 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.5049, allocations: 57.61 kB / 1.377 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.5049, allocations: 4 kB / 1.377 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5049, allocations: 0 / 1.377 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5049, allocations: 0 / 1.377 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.5051, allocations: 43.95 kB / 1.377 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.5055, allocations: 252.9 kB / 1.377 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.5057, allocations: 44.53 kB / 1.377 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.5057, allocations: 3.984 kB / 1.377 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.5058, allocations: 34.5 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.5058, allocations: 4 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003731/0.5062, allocations: 89.72 kB / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.5062, allocations: 59.52 kB / 1.377 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.5063, allocations: 93 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.5063, allocations: 25.7 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.5064, allocations: 88.08 kB / 1.377 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.5064, allocations: 3.906 kB / 1.377 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.5064, allocations: 0 / 1.377 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5066, allocations: 322.8 kB / 1.378 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.5067, allocations: 23.98 kB / 1.378 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.5067, allocations: 23.92 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.437e-05/0.5068, allocations: 19.98 kB / 1.378 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5068, allocations: 0 / 1.378 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002065/0.507, allocations: 81.62 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5071, allocations: 8 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5071, allocations: 0 / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5071, allocations: 0 / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.5072, allocations: 12.02 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5072, allocations: 4 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.5073, allocations: 15.92 kB / 1.378 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5073, allocations: 0 / 1.378 GB, free: 12.98 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/0.5074, allocations: 114.6 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.5074, allocations: 4 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.5075, allocations: 3.125 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.5075, allocations: 3.938 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5075, allocations: 4 kB / 1.378 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5075, allocations: 0 / 1.378 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.5077, allocations: 165.5 kB / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5077, allocations: 0 / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.5078, allocations: 12 kB / 1.378 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5078, allocations: 0 / 1.378 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5078, allocations: 3.984 kB / 1.378 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5078, allocations: 0 / 1.378 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5078, allocations: 0 / 1.378 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.5081, allocations: 171.5 kB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.5081, allocations: 89.09 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.5081, allocations: 0 / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/0.5082, allocations: 8.031 kB / 1.378 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.5083, allocations: 7.984 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5083, allocations: 0 / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.5083, allocations: 87.45 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5084, allocations: 0 / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002092/0.5086, allocations: 4 kB / 1.378 GB, free: 12.23 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002035/0.5088, allocations: 107.2 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.509, allocations: 43.97 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.509, allocations: 0 / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.5091, allocations: 28.05 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5094, allocations: 16.56 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.5097, allocations: 100.7 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.51, allocations: 0.6848 MB / 1.379 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.5101, allocations: 3.906 kB / 1.379 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.5101, allocations: 7.438 kB / 1.379 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5101, allocations: 8 kB / 1.379 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of Templates: time 0.002406/0.5125, allocations: 353.8 kB / 1.38 GB, free: 10.83 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches