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.001475/0.001475, allocations: 85.06 kB / 19.64 MB, free: 276 kB / 13.93 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.00172/0.00172, allocations: 169 kB / 23.02 MB, free: 1.547 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.055/1.055, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.168/2.168, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 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 2.885e-06/2.885e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.217e-05, allocations: 9.484 kB / 0.8782 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001518/0.001551, allocations: 0.6859 MB / 0.8789 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.002386, allocations: 0.8492 MB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.002423, allocations: 0.5625 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.002453, allocations: 1.094 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.002527, allocations: 9.906 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.002677, allocations: 7.984 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.002742, allocations: 25.02 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.002835, allocations: 7.984 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.002917, allocations: 20.58 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.002953, allocations: 4 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.00297, allocations: 0.5312 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.002979, allocations: 4 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.002995, allocations: 8.859 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.003014, allocations: 0 / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.626e-05/0.00309, allocations: 17.14 kB / 0.8798 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003092, allocations: 0 / 0.8798 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003094, allocations: 4 kB / 0.8798 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.003098, allocations: 1.031 kB / 0.8798 GB, free: 4.594 MB / 0.8386 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.0003457/0.003444, allocations: 356.6 kB / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.003481, allocations: 12.03 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.003514, allocations: 2.062 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.751e-05/0.003601, allocations: 124.5 kB / 0.8803 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.003613, allocations: 384 / 0.8803 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.003624, allocations: 1.469 kB / 0.8803 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.00374, allocations: 50.95 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.003751, allocations: 1.25 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.00376, allocations: 384 / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.003769, allocations: 4.375 kB / 0.8804 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.003797, allocations: 4.719 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.004082, allocations: 251.8 kB / 0.8806 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.004133, allocations: 38.16 kB / 0.8807 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.004154, allocations: 11.69 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.004175, allocations: 0 / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.004197, allocations: 37.39 kB / 0.8807 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004197, allocations: 0 / 0.8807 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.004337, allocations: 41.62 kB / 0.8807 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.004365, allocations: 59.34 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.004437, allocations: 159.4 kB / 0.881 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.004447, allocations: 25.7 kB / 0.881 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.004491, allocations: 134.9 kB / 0.8811 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.004508, allocations: 3.953 kB / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.004534, allocations: 19.94 kB / 0.8811 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.004645, allocations: 497.7 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.004658, allocations: 4 kB / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.004669, allocations: 7.984 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.004694, allocations: 13.31 kB / 0.8816 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004696, allocations: 0 / 0.8816 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.1e-05/0.004747, allocations: 41.64 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.004764, allocations: 4 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.004769, allocations: 4.938 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.004787, allocations: 0 / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.004854, allocations: 11.98 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.004858, allocations: 0.5312 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.004875, allocations: 5.547 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.004882, allocations: 8 kB / 0.8817 GB, free: 2.5 MB / 0.8386 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 5.774e-05/0.00494, allocations: 152.6 kB / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.004952, allocations: 416 / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.004981, allocations: 19.23 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.004984, allocations: 3.984 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.004987, allocations: 0 / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.004989, allocations: 0 / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.931e-05/0.005079, allocations: 116.6 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005079, allocations: 0 / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.005097, allocations: 7.984 kB / 0.882 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005099, allocations: 0 / 0.882 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.005105, allocations: 4 kB / 0.882 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.005106, allocations: 3.938 kB / 0.882 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005107, allocations: 0 / 0.882 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.21e-05/0.005199, allocations: 191.9 kB / 0.8822 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.005204, allocations: 4 kB / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.005213, allocations: 0 / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.005243, allocations: 3.938 kB / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.005277, allocations: 4 kB / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.00528, allocations: 3.984 kB / 0.8822 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.005318, allocations: 127.2 kB / 0.8823 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/0.005318, allocations: 0 / 0.8823 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001396/0.005457, allocations: 4 kB / 0.8823 GB, free: 1.801 MB / 0.8386 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.585e-05/0.005533, allocations: 95.28 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.741e-05/0.005611, allocations: 15.62 kB / 0.8824 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005612, allocations: 3.938 kB / 0.8824 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.00563, allocations: 19.67 kB / 0.8824 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.005824, allocations: 4 kB / 0.8824 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.006077, allocations: 116.8 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.336e-05/0.006111, allocations: 51.48 kB / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.006125, allocations: 8 kB / 0.8826 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.00615, allocations: 8.5 kB / 0.8826 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.006151, allocations: 0 / 0.8826 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of Templates: time 0.002078/0.008229, allocations: 490.8 kB / 0.8831 GB, free: 0.9531 MB / 0.8386 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.702538738027215]