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.616/1.616, allocations: 249.3 MB / 261.8 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 177.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008784/0.0008784, allocations: 107.6 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.318e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2246, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7225/0.9471, allocations: 131.3 MB / 1.02 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.9474, allocations: 76.14 kB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001665/0.949, allocations: 0.6378 MB / 1.021 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9491, allocations: 0 / 1.021 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.9491, allocations: 0 / 1.021 GB, free: 2.805 MB / 0.6355 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.0003365/0.9494, allocations: 341.3 kB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.9495, allocations: 12.03 kB / 1.021 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.9495, allocations: 0 / 1.021 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.9496, allocations: 167 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.9497, allocations: 4 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.9497, allocations: 3.688 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.9498, allocations: 33.7 kB / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.9498, allocations: 0 / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.9498, allocations: 3.938 kB / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.9498, allocations: 4 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.505e-05/0.9499, allocations: 7.984 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.9502, allocations: 254.8 kB / 1.021 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.774e-05/0.9503, allocations: 26.08 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.9504, allocations: 16.73 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.9504, allocations: 0 / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.9504, allocations: 30.56 kB / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9504, allocations: 0 / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001584/0.9506, allocations: 48.78 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.9506, allocations: 58.14 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.9507, allocations: 92.88 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.9507, allocations: 29.73 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.9508, allocations: 80.14 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.9508, allocations: 7.891 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.9508, allocations: 0 / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9509, allocations: 326.7 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.9509, allocations: 3.938 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.951, allocations: 7.438 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.967e-05/0.951, allocations: 4 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.951, allocations: 64 / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.781e-05/0.9511, allocations: 44.77 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.9511, allocations: 7.938 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.9511, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.9511, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.9512, allocations: 12.92 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9512, allocations: 0 / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.9513, allocations: 11.98 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.9513, allocations: 4.031 kB / 1.022 GB, free: 1.031 MB / 0.6355 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 () * 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 6.562e-05/0.9514, allocations: 112.4 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.9514, allocations: 0 / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.9514, allocations: 7.078 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.9514, allocations: 192 / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9515, allocations: 0 / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.9515, allocations: 3.984 kB / 1.022 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.9516, allocations: 165.7 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9516, allocations: 4 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.9517, allocations: 15.98 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9517, allocations: 0 / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.9517, allocations: 1.562 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.9517, allocations: 0 / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9518, allocations: 0 / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.9519, allocations: 146.7 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.9519, allocations: 81.09 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.9519, allocations: 4.031 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.952, allocations: 8 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.9521, allocations: 3.984 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.9521, allocations: 0 / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.9521, allocations: 82.78 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9521, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002021/0.9523, allocations: 4 kB / 1.023 GB, free: 340 kB / 0.6355 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 () * 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.0001526/0.9525, allocations: 103.2 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.9526, allocations: 15.06 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9526, allocations: 0 / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.9526, allocations: 11.44 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.9528, allocations: 11.94 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002012/0.953, allocations: 60.53 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.9533, allocations: 0.6848 MB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.9533, allocations: 4.125 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.9533, allocations: 11.44 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of SimCode: time 1.472e-06/0.9533, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.002055/0.9554, allocations: 372.3 kB / 1.024 GB, free: 15.04 MB / 0.6511 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