Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 194.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008702/0.0008703, allocations: 88.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 12.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2617, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.4494, allocations: 131.4 MB / 1.028 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.4497, allocations: 75.95 kB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001764/0.4515, allocations: 0.6413 MB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4515, allocations: 0 / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.4515, allocations: 0 / 1.029 GB, free: 11.66 MB / 0.6823 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.0004123/0.452, allocations: 335.3 kB / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.452, allocations: 19.97 kB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.4521, allocations: 0 / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.4522, allocations: 170.9 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4522, allocations: 4 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4523, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.4525, allocations: 53.67 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4525, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4525, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4525, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.4527, allocations: 47.89 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.4531, allocations: 256.8 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.4532, allocations: 50.59 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4532, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.4533, allocations: 30.56 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4533, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003647/0.4536, allocations: 97.64 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4537, allocations: 55.41 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.4538, allocations: 93 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4538, allocations: 29.83 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.4539, allocations: 80.14 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.4539, allocations: 11.89 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.4539, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.454, allocations: 318.8 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.4541, allocations: 19.98 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/0.4542, allocations: 23.98 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.4543, allocations: 23.97 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4543, allocations: 0 / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.4545, allocations: 77.67 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4545, allocations: 8 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4545, allocations: 192 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4545, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.4546, allocations: 11.98 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4546, allocations: 0 / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.4547, allocations: 20 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.4547, allocations: 0 / 1.031 GB, free: 9.641 MB / 0.6823 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.65e-05/0.4548, allocations: 109.8 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.4548, allocations: 7.938 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.4549, allocations: 7.125 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4549, allocations: 0 / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4549, allocations: 0 / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4549, allocations: 0 / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4551, allocations: 165.6 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4551, allocations: 0 / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.4551, allocations: 11.98 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4551, allocations: 7.938 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.4552, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4552, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4552, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.4554, allocations: 187.3 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.4555, allocations: 81.11 kB / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.4555, allocations: 0 / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.4556, allocations: 7.984 kB / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.4556, allocations: 8.031 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.4556, allocations: 0 / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.4557, allocations: 79.28 kB / 1.031 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4557, allocations: 0 / 1.031 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001954/0.4559, allocations: 8 kB / 1.032 GB, free: 8.879 MB / 0.6823 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.0001811/0.4561, allocations: 107.2 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.4563, allocations: 47.91 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4563, allocations: 0 / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.4564, allocations: 23.97 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.4566, allocations: 12.59 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.4569, allocations: 114.9 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.4571, allocations: 0.677 MB / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.4572, allocations: 0 / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.4572, allocations: 11.44 kB / 1.032 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4572, allocations: 4 kB / 1.032 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of Templates: time 0.002159/0.4594, allocations: 357.7 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches