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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00117/0.00117, allocations: 173.1 kB / 498.1 MB, free: 5.746 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.627/1.627, allocations: 223.2 MB / 0.7949 GB, free: 17.85 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.0009235/0.0009233, allocations: 96.27 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 12.25 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2821, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.4653, allocations: 148.8 MB / 1.368 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4656, allocations: 71.89 kB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001706/0.4673, allocations: 0.6225 MB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4674, allocations: 0 / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.4674, allocations: 0 / 1.369 GB, free: 12.53 MB / 0.8698 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.000389/0.4678, allocations: 340.8 kB / 1.369 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4678, allocations: 12.03 kB / 1.369 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.4679, allocations: 0 / 1.369 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.468, allocations: 167 kB / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.468, allocations: 4 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.468, allocations: 4 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.4682, allocations: 53.67 kB / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4682, allocations: 0 / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4682, allocations: 0 / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4683, allocations: 3.938 kB / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.4684, allocations: 47.95 kB / 1.369 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.4688, allocations: 244.9 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.4689, allocations: 53.34 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.4689, allocations: 3.984 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.469, allocations: 30.56 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.469, allocations: 3.938 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003566/0.4693, allocations: 97.64 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4694, allocations: 51.41 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.4695, allocations: 93 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.4695, allocations: 25.7 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.4695, allocations: 92.17 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.4696, allocations: 0 / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.4696, allocations: 0 / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4697, allocations: 318.8 kB / 1.37 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.4698, allocations: 23.98 kB / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.4698, allocations: 23.98 kB / 1.37 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.506e-05/0.4699, allocations: 19.98 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4699, allocations: 3.938 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.4702, allocations: 81.62 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4702, allocations: 4 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4702, allocations: 7.938 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4702, allocations: 3.938 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.4703, allocations: 11.98 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4703, allocations: 0 / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.4704, allocations: 12.02 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.4704, allocations: 4 kB / 1.371 GB, free: 10.52 MB / 0.8698 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 7.289e-05/0.4705, allocations: 113.8 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.4705, allocations: 0 / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.4705, allocations: 7.125 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4705, allocations: 0 / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4705, allocations: 0 / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4706, allocations: 0 / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.4707, allocations: 165.5 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4707, allocations: 4 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.4708, allocations: 12 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4708, allocations: 7.922 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4708, allocations: 4 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4708, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4708, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.4711, allocations: 175.5 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.4711, allocations: 81.02 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4712, allocations: 4 kB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.4712, allocations: 4 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.4713, allocations: 3.984 kB / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4713, allocations: 8.031 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.4714, allocations: 79.28 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4714, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002033/0.4716, allocations: 8 kB / 1.371 GB, free: 9.762 MB / 0.8698 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.0001575/0.4717, allocations: 103 kB / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.472, allocations: 51.91 kB / 1.371 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.472, allocations: 0 / 1.371 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.4721, allocations: 23.98 kB / 1.371 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.4723, allocations: 11.94 kB / 1.371 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.4726, allocations: 114.7 kB / 1.372 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.4728, allocations: 0.6809 MB / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.4728, allocations: 0 / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.4729, allocations: 11.42 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4729, allocations: 0 / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of Templates: time 0.002327/0.4752, allocations: 362 kB / 1.373 GB, free: 8.355 MB / 0.8698 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches