Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001093/0.001093, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.002055/0.002055, allocations: 161 kB / 24.16 MB, free: 336 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.033/1.033, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.98/1.98, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.19e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001175/0.001187, allocations: 0.7397 MB / 0.7609 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007389/0.001926, allocations: 0.8462 MB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.001954, allocations: 0 / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.001973, allocations: 0 / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.002022, allocations: 5.797 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.736e-05/0.002109, allocations: 9 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.155e-05/0.00216, allocations: 19.92 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.002214, allocations: 12.69 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.002277, allocations: 12.88 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.604e-05/0.002303, allocations: 5.578 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.002314, allocations: 4 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-06/0.002319, allocations: 1.188 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.002331, allocations: 6.141 kB / 0.7618 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.002345, allocations: 4.656 kB / 0.7618 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.145e-05/0.002396, allocations: 25.22 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.242e-06/0.002397, allocations: 1.031 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002398, allocations: 0 / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.002401, allocations: 0 / 0.7618 GB, free: 4.871 MB / 0.7136 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.0002128/0.002613, allocations: 226.8 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.002641, allocations: 8.031 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.002664, allocations: 9.859 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.004e-05/0.002734, allocations: 109.8 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.002742, allocations: 384 / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.002748, allocations: 5.594 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.489e-05/0.002823, allocations: 54.94 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.00283, allocations: 192 / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-06/0.002835, allocations: 1.25 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.002841, allocations: 384 / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.002859, allocations: 8.719 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.003019, allocations: 149.1 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.054e-05/0.003049, allocations: 23.33 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.003064, allocations: 13.53 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.003074, allocations: 0 / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.003092, allocations: 31.31 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.003093, allocations: 0 / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.243e-05/0.003175, allocations: 43.14 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.003205, allocations: 55.34 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.7e-05/0.003252, allocations: 107.4 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.00326, allocations: 26.42 kB / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.003284, allocations: 84.12 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.003297, allocations: 10.7 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.003317, allocations: 13.72 kB / 0.7627 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.003385, allocations: 310.8 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-06/0.003393, allocations: 4.875 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.0034, allocations: 0 / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.739e-05/0.003417, allocations: 12.84 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.003418, allocations: 2.438 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.854e-05/0.003457, allocations: 37.64 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.003468, allocations: 10.17 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.003472, allocations: 4 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.003484, allocations: 0 / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.00353, allocations: 8.594 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.003533, allocations: 1.5 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.003547, allocations: 4 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.003551, allocations: 0 / 0.7631 GB, free: 3.383 MB / 0.7136 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 4.468e-05/0.003595, allocations: 114.8 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.003611, allocations: 8 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.003626, allocations: 4.516 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.003627, allocations: 1.094 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.003631, allocations: 7.938 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.003634, allocations: 0 / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.156e-05/0.003705, allocations: 67.31 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.003707, allocations: 3.984 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.003724, allocations: 8 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.003725, allocations: 2.75 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-06/0.003728, allocations: 0 / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003729, allocations: 0 / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.00373, allocations: 3.938 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.241e-05/0.003793, allocations: 132.5 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.003801, allocations: 11.95 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-06/0.003807, allocations: 0 / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.948e-05/0.003837, allocations: 6.188 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.003858, allocations: 7.984 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.00386, allocations: 0 / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.729e-06/0.00387, allocations: 12.8 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00387, allocations: 0 / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001139/0.003984, allocations: 4 kB / 0.7635 GB, free: 2.961 MB / 0.7136 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 7.058e-05/0.004054, allocations: 79.58 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.727e-05/0.004111, allocations: 20.78 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.004114, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.004129, allocations: 8.859 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.004266, allocations: 4.875 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001701/0.004436, allocations: 109.8 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.004465, allocations: 59.34 kB / 0.7637 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.286e-05/0.004478, allocations: 1.812 kB / 0.7637 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.004513, allocations: 52.88 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.004513, allocations: 0 / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of Templates: time 0.001655/0.006168, allocations: 467.8 kB / 0.7642 GB, free: 2.141 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.99606864200905]