Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009817/0.0009817, allocations: 81.14 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 173 kB / 23.28 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 203.7 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.442/2.442, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.534e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001642/0.001678, allocations: 0.6785 MB / 0.8905 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.002559, allocations: 0.8547 MB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.002596, allocations: 0 / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.002623, allocations: 0 / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.002694, allocations: 7.938 kB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.002832, allocations: 11.98 kB / 0.8913 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.0029, allocations: 23.92 kB / 0.8913 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.002988, allocations: 4 kB / 0.8914 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.003073, allocations: 15.92 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.003121, allocations: 11.98 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.003135, allocations: 0 / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.003143, allocations: 4 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.003163, allocations: 3.984 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.003181, allocations: 4 kB / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.991e-05/0.003261, allocations: 23.86 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.003264, allocations: 0 / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003265, allocations: 0 / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.003271, allocations: 4 kB / 0.8914 GB, free: 8.012 MB / 0.8542 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.000378/0.003649, allocations: 352.6 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.003702, allocations: 16.56 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.003735, allocations: 4.938 kB / 0.8918 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.003827, allocations: 116.6 kB / 0.8919 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.003839, allocations: 384 / 0.8919 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.003846, allocations: 384 / 0.8919 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003963, allocations: 54.95 kB / 0.8919 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.003972, allocations: 4.188 kB / 0.8919 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.00398, allocations: 384 / 0.8919 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.003986, allocations: 384 / 0.8919 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.004006, allocations: 7.938 kB / 0.8919 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.0043, allocations: 236.4 kB / 0.8922 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.925e-05/0.004349, allocations: 27.06 kB / 0.8922 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.004365, allocations: 11.75 kB / 0.8922 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.004388, allocations: 0 / 0.8922 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.004411, allocations: 33.39 kB / 0.8922 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.004412, allocations: 4 kB / 0.8922 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000153/0.004565, allocations: 45.56 kB / 0.8923 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.004593, allocations: 55.41 kB / 0.8923 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.004675, allocations: 161.9 kB / 0.8925 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.004687, allocations: 25.7 kB / 0.8925 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.004735, allocations: 126.9 kB / 0.8926 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.004758, allocations: 7.938 kB / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.00479, allocations: 23.36 kB / 0.8927 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.004932, allocations: 492.1 kB / 0.8931 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.004948, allocations: 4 kB / 0.8931 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.004959, allocations: 4.125 kB / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.004994, allocations: 19.62 kB / 0.8932 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.004996, allocations: 0 / 0.8932 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.199e-05/0.005068, allocations: 45.58 kB / 0.8932 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.005085, allocations: 4 kB / 0.8932 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.00509, allocations: 0 / 0.8932 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.005107, allocations: 7.938 kB / 0.8932 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.005183, allocations: 4 kB / 0.8932 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.005187, allocations: 0 / 0.8932 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.00521, allocations: 12.02 kB / 0.8932 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.005215, allocations: 4 kB / 0.8932 GB, free: 5.938 MB / 0.8542 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 7.627e-05/0.005292, allocations: 152.6 kB / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.005305, allocations: 0 / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.005339, allocations: 11.31 kB / 0.8934 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.005342, allocations: 3.938 kB / 0.8934 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005346, allocations: 0 / 0.8934 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.005351, allocations: 192 / 0.8934 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.005457, allocations: 101.2 kB / 0.8935 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.005458, allocations: 0 / 0.8935 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.005486, allocations: 11.98 kB / 0.8935 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.005488, allocations: 0 / 0.8935 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.005493, allocations: 0 / 0.8935 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.005494, allocations: 7.938 kB / 0.8935 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.005496, allocations: 0 / 0.8935 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.005617, allocations: 187.9 kB / 0.8937 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.005627, allocations: 7.953 kB / 0.8937 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.005635, allocations: 0 / 0.8937 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.005672, allocations: 7.984 kB / 0.8937 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.005703, allocations: 4 kB / 0.8937 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.005707, allocations: 7.969 kB / 0.8937 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.005751, allocations: 123.2 kB / 0.8938 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005751, allocations: 0 / 0.8938 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000139/0.00589, allocations: 0 / 0.8938 GB, free: 5.266 MB / 0.8542 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.0001494/0.006039, allocations: 99.23 kB / 0.8939 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.006118, allocations: 23.62 kB / 0.894 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006121, allocations: 0 / 0.894 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.006137, allocations: 11.69 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.006351, allocations: 12.06 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.006615, allocations: 102.5 kB / 0.8941 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.006656, allocations: 63.28 kB / 0.8941 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.006675, allocations: 0 / 0.8941 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.006727, allocations: 70.2 kB / 0.8942 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.006728, allocations: 0 / 0.8942 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.002459/0.009187, allocations: 0.5257 MB / 0.8947 GB, free: 4.301 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.468162519391626]