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.0009675/0.0009675, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001011/0.001011, allocations: 169 kB / 24.28 MB, free: 276 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 1.029/1.029, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.834/1.834, allocations: 359 MB / 0.6055 GB, free: 11.02 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 2.534e-06/2.534e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.136e-05, allocations: 7.031 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001441/0.001472, allocations: 0.6775 MB / 0.7878 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000778/0.00225, allocations: 0.8485 MB / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.002285, allocations: 0 / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.002311, allocations: 11.88 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.002374, allocations: 1.406 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.002515, allocations: 7.984 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.002586, allocations: 23.94 kB / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.002679, allocations: 5.047 kB / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.002758, allocations: 12 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.002796, allocations: 11.92 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.002813, allocations: 1.562 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.002822, allocations: 4 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.002839, allocations: 7.984 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.002858, allocations: 4 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.133e-05/0.00294, allocations: 20.41 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.002942, allocations: 3.938 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.002943, allocations: 1.562 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.002948, allocations: 0 / 0.7888 GB, free: 11.09 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.0005639/0.003512, allocations: 352.7 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.003551, allocations: 8.938 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.003589, allocations: 4.891 kB / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.003675, allocations: 116.6 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.003687, allocations: 5 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.003696, allocations: 5.688 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.003817, allocations: 50.94 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.003823, allocations: 192 / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.003833, allocations: 4.375 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.003839, allocations: 2.406 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.278e-05/0.003872, allocations: 15.88 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.004152, allocations: 239.8 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.004206, allocations: 31.09 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.004229, allocations: 13.88 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.004245, allocations: 0 / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.004266, allocations: 37.45 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004267, allocations: 0 / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001474/0.004414, allocations: 45.53 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.004445, allocations: 60.11 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.004515, allocations: 153.9 kB / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004525, allocations: 30.23 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.00457, allocations: 132.5 kB / 0.79 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.00459, allocations: 3.953 kB / 0.79 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.00462, allocations: 23.36 kB / 0.79 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.00474, allocations: 492.1 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.004756, allocations: 4 kB / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.004766, allocations: 4.656 kB / 0.7905 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.0048, allocations: 12.88 kB / 0.7905 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.004802, allocations: 3.938 kB / 0.7905 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.151e-05/0.004863, allocations: 42.84 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.004877, allocations: 4 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.004885, allocations: 7.938 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.004896, allocations: 1.375 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.004969, allocations: 4 kB / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.004975, allocations: 0 / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.004994, allocations: 9.734 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.004999, allocations: 0 / 0.7906 GB, free: 9.008 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 6.225e-05/0.005061, allocations: 152.6 kB / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.005076, allocations: 4.188 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.005104, allocations: 12.06 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005106, allocations: 3.984 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.00511, allocations: 0 / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005113, allocations: 1.562 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.878e-05/0.005212, allocations: 120.6 kB / 0.7909 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.005213, allocations: 0 / 0.7909 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.005237, allocations: 7.938 kB / 0.7909 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.00524, allocations: 5.156 kB / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.005247, allocations: 0 / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005249, allocations: 3.938 kB / 0.7909 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.00525, allocations: 3.188 kB / 0.7909 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.005357, allocations: 187.9 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.005363, allocations: 4 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.005375, allocations: 4 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.005408, allocations: 11.92 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.005445, allocations: 0 / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.005449, allocations: 4 kB / 0.7911 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.005486, allocations: 123.2 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005487, allocations: 0.5 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001454/0.005632, allocations: 5.938 kB / 0.7912 GB, free: 8.309 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 9.687e-05/0.005729, allocations: 95.23 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.005807, allocations: 19.62 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.005809, allocations: 2.469 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.005827, allocations: 15.69 kB / 0.7914 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.006031, allocations: 7.984 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.006316, allocations: 110.3 kB / 0.7915 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.006354, allocations: 60.22 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.631e-05/0.006371, allocations: 0.8438 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.006398, allocations: 8.5 kB / 0.7915 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of SimCode: time 1.152e-06/0.006399, allocations: 1.281 kB / 0.7915 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.002272/0.008671, allocations: 496.3 kB / 0.792 GB, free: 7.469 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: 5.270857344148681]