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.001429/0.001429, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001421/0.001421, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9812/0.9812, allocations: 177.1 MB / 203.8 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.292/2.292, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 3.456e-06/3.456e-06, allocations: 0 / 0.8783 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.62e-05, allocations: 9.344 kB / 0.8783 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001603/0.001639, allocations: 0.6811 MB / 0.8789 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.002517, allocations: 0.8507 MB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.002555, allocations: 0 / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.002582, allocations: 0 / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.002652, allocations: 6.969 kB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.002806, allocations: 11.98 kB / 0.8798 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.002883, allocations: 21.03 kB / 0.8798 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.002992, allocations: 7.984 kB / 0.8798 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.003075, allocations: 15.92 kB / 0.8798 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.863e-05/0.003113, allocations: 12.95 kB / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.003134, allocations: 0 / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.003143, allocations: 4 kB / 0.8798 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.003159, allocations: 0.5625 kB / 0.8798 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.003184, allocations: 8.984 kB / 0.8798 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.635e-05/0.003271, allocations: 19.86 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003274, allocations: 0 / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003275, allocations: 0.6562 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.00328, allocations: 0 / 0.8799 GB, free: 4.926 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.0003734/0.003653, allocations: 357.5 kB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.003694, allocations: 12.03 kB / 0.8802 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.003733, allocations: 5.969 kB / 0.8802 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.564e-05/0.003819, allocations: 112.6 kB / 0.8803 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.003829, allocations: 384 / 0.8803 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.00384, allocations: 5.531 kB / 0.8803 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.003964, allocations: 54.94 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.00397, allocations: 1.719 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003978, allocations: 384 / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.003986, allocations: 384 / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.97e-05/0.004015, allocations: 7.938 kB / 0.8804 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.0043, allocations: 255.8 kB / 0.8806 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.004351, allocations: 28.03 kB / 0.8807 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.004373, allocations: 12.5 kB / 0.8807 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.00439, allocations: 0 / 0.8807 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.00441, allocations: 38.02 kB / 0.8807 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.004411, allocations: 4 kB / 0.8807 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.004554, allocations: 49 kB / 0.8808 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.004582, allocations: 51.41 kB / 0.8808 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.00465, allocations: 157.9 kB / 0.881 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.00466, allocations: 25.7 kB / 0.881 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.004701, allocations: 130.9 kB / 0.8811 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.004718, allocations: 7.938 kB / 0.8811 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.004742, allocations: 19.38 kB / 0.8811 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.004926, allocations: 496.1 kB / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.004943, allocations: 0.5 kB / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.004953, allocations: 4.594 kB / 0.8816 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.004982, allocations: 19.88 kB / 0.8816 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004984, allocations: 0 / 0.8816 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.712e-05/0.005041, allocations: 45.56 kB / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.005055, allocations: 4 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.00506, allocations: 3.938 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.005074, allocations: 0 / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.005145, allocations: 8 kB / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.00515, allocations: 0 / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.005169, allocations: 7.938 kB / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.005176, allocations: 4 kB / 0.8817 GB, free: 2.836 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 6.189e-05/0.005237, allocations: 164.6 kB / 0.8819 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.005251, allocations: 0 / 0.8819 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.005277, allocations: 11.25 kB / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.00528, allocations: 0 / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.005283, allocations: 0 / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005286, allocations: 192 / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.915e-05/0.005385, allocations: 120.6 kB / 0.882 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005386, allocations: 0 / 0.882 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.005411, allocations: 7.984 kB / 0.882 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005414, allocations: 0 / 0.882 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.005422, allocations: 3.984 kB / 0.882 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.005424, allocations: 11.94 kB / 0.882 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.005426, allocations: 3.938 kB / 0.882 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.005534, allocations: 180 kB / 0.8822 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.005543, allocations: 4 kB / 0.8822 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.005555, allocations: 3.984 kB / 0.8822 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.005586, allocations: 3.938 kB / 0.8822 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.005623, allocations: 4 kB / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.005626, allocations: 0 / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.00566, allocations: 127.2 kB / 0.8823 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005661, allocations: 0 / 0.8823 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001487/0.005809, allocations: 12.03 kB / 0.8823 GB, free: 2.125 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 0.0001053/0.005915, allocations: 91.25 kB / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.005996, allocations: 15.62 kB / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005997, allocations: 0 / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.006016, allocations: 11.69 kB / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.006217, allocations: 11.52 kB / 0.8825 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.006485, allocations: 118.6 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.437e-05/0.00652, allocations: 55.3 kB / 0.8826 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.585e-05/0.006535, allocations: 0 / 0.8826 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.006562, allocations: 12.5 kB / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of SimCode: time 1.202e-06/0.006564, allocations: 0 / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of Templates: time 0.002132/0.008696, allocations: 495.4 kB / 0.8831 GB, free: 1.281 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.590291901957244]