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.001425/0.001425, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002111/0.002111, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.51/1.51, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.859/2.859, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.044e-06/2.044e-06, allocations: 0 / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.663e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001637/0.001664, allocations: 0.6549 MB / 0.9821 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.002677, allocations: 0.8315 MB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.002709, allocations: 0 / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.002731, allocations: 0 / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.002796, allocations: 7.875 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.002935, allocations: 11.98 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.074e-05/0.003006, allocations: 23.92 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.38e-05/0.00309, allocations: 7.984 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.003164, allocations: 11.98 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.003205, allocations: 8 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.003222, allocations: 0 / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.003232, allocations: 8 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.003248, allocations: 7.922 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.003271, allocations: 4 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.128e-05/0.003342, allocations: 15.97 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003344, allocations: 7.938 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.8e-07/0.003344, allocations: 0 / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003348, allocations: 0 / 0.9831 GB, free: 10.29 MB / 0.9356 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.0004138/0.003761, allocations: 262.3 kB / 0.9833 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.003797, allocations: 12.03 kB / 0.9833 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.003826, allocations: 4.891 kB / 0.9833 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.003933, allocations: 117.7 kB / 0.9834 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.003944, allocations: 4.375 kB / 0.9834 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.003952, allocations: 384 / 0.9834 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.004117, allocations: 54.17 kB / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004125, allocations: 192 / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.004133, allocations: 384 / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.004137, allocations: 384 / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.004312, allocations: 35.91 kB / 0.9835 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.004598, allocations: 196.6 kB / 0.9837 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.004728, allocations: 38.5 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.004822, allocations: 20.91 kB / 0.9838 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.004842, allocations: 4 kB / 0.9838 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.00487, allocations: 34.55 kB / 0.9838 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.004871, allocations: 0 / 0.9838 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003645/0.005236, allocations: 93.61 kB / 0.9839 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.005275, allocations: 51.41 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.005355, allocations: 101.8 kB / 0.9841 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.005373, allocations: 25.7 kB / 0.9841 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.005425, allocations: 88.09 kB / 0.9842 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.005439, allocations: 0 / 0.9842 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.00547, allocations: 13.72 kB / 0.9842 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.005602, allocations: 318.8 kB / 0.9845 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.005691, allocations: 11.98 kB / 0.9845 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.005768, allocations: 20.02 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.00593, allocations: 44.81 kB / 0.9845 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005932, allocations: 0 / 0.9845 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002139/0.006146, allocations: 69.56 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.00616, allocations: 4 kB / 0.9846 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.006166, allocations: 4.031 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.006177, allocations: 4 kB / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.006265, allocations: 11.98 kB / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.00627, allocations: 0 / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.00632, allocations: 7.984 kB / 0.9846 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.006325, allocations: 0 / 0.9846 GB, free: 8.488 MB / 0.9356 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 7.725e-05/0.006402, allocations: 113.8 kB / 0.9848 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.006425, allocations: 0 / 0.9848 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.006447, allocations: 11.19 kB / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.006449, allocations: 0 / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.006454, allocations: 8 kB / 0.9848 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.006456, allocations: 3.938 kB / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.006589, allocations: 105.3 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.00659, allocations: 0 / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.006651, allocations: 7.984 kB / 0.9849 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006653, allocations: 0 / 0.9849 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.00666, allocations: 4 kB / 0.9849 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.006663, allocations: 3.938 kB / 0.9849 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006664, allocations: 0 / 0.9849 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.006922, allocations: 167.5 kB / 0.9851 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.006929, allocations: 3.953 kB / 0.9851 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.006943, allocations: 4 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.007022, allocations: 7.922 kB / 0.9851 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.007057, allocations: 4 kB / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.00706, allocations: 0 / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.007105, allocations: 83.27 kB / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.007105, allocations: 0 / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002159/0.007321, allocations: 8 kB / 0.9852 GB, free: 7.91 MB / 0.9356 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.0001136/0.007434, allocations: 95.28 kB / 0.9852 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.007643, allocations: 35.97 kB / 0.9853 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007644, allocations: 7.938 kB / 0.9853 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.00773, allocations: 15.97 kB / 0.9853 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.008051, allocations: 11.94 kB / 0.9853 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.008327, allocations: 109 kB / 0.9854 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.826e-05/0.008385, allocations: 55.36 kB / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.008406, allocations: 3.984 kB / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.008433, allocations: 12.5 kB / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.008434, allocations: 0 / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of Templates: time 0.002896/0.01133, allocations: 481.3 kB / 0.9859 GB, free: 7.055 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.326038870960474]