Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009524/0.0009524, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.000932/0.000932, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 0.9256/0.9256, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.747/1.747, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.118e-06/4.118e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.498e-05/3.909e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002232/0.002271, allocations: 0.6762 MB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.003424, allocations: 0.8521 MB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.003467, allocations: 0.7812 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.003501, allocations: 3.938 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.003584, allocations: 5.125 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.003758, allocations: 11.98 kB / 0.7892 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.003824, allocations: 19.94 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003926, allocations: 9.641 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.004022, allocations: 8 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.112e-05/0.004063, allocations: 11.98 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.00408, allocations: 0 / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.004089, allocations: 5.281 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.004104, allocations: 0 / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.004128, allocations: 15.91 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.004213, allocations: 19.86 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.004217, allocations: 2.906 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004218, allocations: 0 / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004222, allocations: 0 / 0.7892 GB, free: 10.49 MB / 0.7448 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.000411/0.004633, allocations: 352.7 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.00468, allocations: 12.03 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.00471, allocations: 4.891 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.004798, allocations: 112.6 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.004811, allocations: 5.672 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.004818, allocations: 384 / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.004942, allocations: 50.95 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004951, allocations: 192 / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.00496, allocations: 4.969 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004966, allocations: 1.375 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.004991, allocations: 11.88 kB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.005256, allocations: 224.4 kB / 0.79 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.005307, allocations: 31.75 kB / 0.79 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.005324, allocations: 9.062 kB / 0.79 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.005347, allocations: 4.062 kB / 0.79 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.005372, allocations: 33.39 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.005374, allocations: 5.75 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.005519, allocations: 49.53 kB / 0.7901 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.005551, allocations: 55.39 kB / 0.7902 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.005628, allocations: 157.9 kB / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.005639, allocations: 31.23 kB / 0.7903 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.005686, allocations: 126.9 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.00571, allocations: 3.953 kB / 0.7905 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.005743, allocations: 23.36 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.005876, allocations: 498 kB / 0.791 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.005887, allocations: 0 / 0.791 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.005898, allocations: 4 kB / 0.791 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.005931, allocations: 19.62 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005933, allocations: 2.406 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.915e-05/0.006002, allocations: 37.88 kB / 0.791 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.006017, allocations: 4 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.006021, allocations: 0 / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.006034, allocations: 3.938 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.006118, allocations: 11.98 kB / 0.791 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.00612, allocations: 0.5312 kB / 0.791 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.006143, allocations: 4.703 kB / 0.7911 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.006148, allocations: 0 / 0.7911 GB, free: 8.445 MB / 0.7448 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 0.0001825/0.006331, allocations: 157.1 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.006354, allocations: 5.594 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.006387, allocations: 7.312 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.00639, allocations: 3.938 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006392, allocations: 0 / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006396, allocations: 4.625 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.006521, allocations: 101.2 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.006522, allocations: 0.6875 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.006565, allocations: 8.625 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006567, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.006571, allocations: 0.8438 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006572, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.006575, allocations: 5.156 kB / 0.7913 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.006709, allocations: 191.8 kB / 0.7915 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.006717, allocations: 0 / 0.7915 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.006726, allocations: 8.5 kB / 0.7915 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.006783, allocations: 0.7812 kB / 0.7915 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.006812, allocations: 3.984 kB / 0.7915 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006816, allocations: 8.781 kB / 0.7915 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.006858, allocations: 123.2 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.006858, allocations: 0 / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002367/0.007095, allocations: 5.781 kB / 0.7917 GB, free: 7.773 MB / 0.7448 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.0001335/0.007229, allocations: 103.2 kB / 0.7918 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.007304, allocations: 16.48 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007306, allocations: 0 / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.007326, allocations: 14 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.007592, allocations: 4 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.007869, allocations: 110.4 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.007912, allocations: 65.31 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.007932, allocations: 0 / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.007988, allocations: 70.2 kB / 0.792 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/0.007989, allocations: 0 / 0.792 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of Templates: time 0.002664/0.01065, allocations: 0.5239 MB / 0.7925 GB, free: 6.832 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.822278132196516]