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.002583/0.002583, allocations: 93.47 kB / 19.44 MB, free: 332 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.003303/0.003303, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.477/3.477, allocations: 429.5 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] 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.045e-06/3.045e-06, allocations: 0 / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.746e-05/5.05e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002823/0.002874, allocations: 0.6797 MB / 0.8782 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.004271, allocations: 0.8273 MB / 0.879 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.004316, allocations: 4 kB / 0.879 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.004342, allocations: 3.938 kB / 0.879 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.004424, allocations: 2.547 kB / 0.879 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.004602, allocations: 7.984 kB / 0.879 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.004702, allocations: 25.89 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.004821, allocations: 7.984 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.004931, allocations: 11.94 kB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.004975, allocations: 9.266 kB / 0.8791 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.004996, allocations: 0 / 0.8791 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.005006, allocations: 4 kB / 0.8791 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.005025, allocations: 4 kB / 0.8791 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.00506, allocations: 5.469 kB / 0.8791 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.005172, allocations: 35.81 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005174, allocations: 0 / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005175, allocations: 0 / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.00518, allocations: 3.094 kB / 0.8791 GB, free: 5 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.000547/0.005727, allocations: 360.2 kB / 0.8794 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.005768, allocations: 8.031 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.005817, allocations: 4.938 kB / 0.8795 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.005951, allocations: 112.6 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005966, allocations: 4.375 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.005975, allocations: 384 / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.006151, allocations: 42.88 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.00616, allocations: 192 / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006172, allocations: 6.016 kB / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.006182, allocations: 4.375 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.006303, allocations: 27.86 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.00672, allocations: 243.8 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.006858, allocations: 44.94 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.006933, allocations: 19.73 kB / 0.8799 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.006963, allocations: 4 kB / 0.8799 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.007008, allocations: 34.98 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.007009, allocations: 0 / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000346/0.007355, allocations: 73.64 kB / 0.88 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.007406, allocations: 55.44 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.00755, allocations: 157.9 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.007577, allocations: 29.7 kB / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.007672, allocations: 130.9 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.007695, allocations: 3.953 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.007742, allocations: 23.38 kB / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002887/0.008031, allocations: 496.1 kB / 0.8809 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.008089, allocations: 7.984 kB / 0.8809 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.008135, allocations: 12 kB / 0.8809 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.008241, allocations: 35.67 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008244, allocations: 0 / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001602/0.008404, allocations: 61.61 kB / 0.881 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.008422, allocations: 4 kB / 0.881 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.00843, allocations: 3.938 kB / 0.881 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.008447, allocations: 0 / 0.881 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.008531, allocations: 8 kB / 0.881 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.008536, allocations: 0 / 0.881 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.00857, allocations: 8.016 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.008579, allocations: 4 kB / 0.881 GB, free: 2.809 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 0.0001202/0.008699, allocations: 156.6 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.008727, allocations: 7.953 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.008761, allocations: 7.25 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008763, allocations: 0 / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.00877, allocations: 4 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008773, allocations: 3.938 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.008951, allocations: 116.6 kB / 0.8813 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.008952, allocations: 0 / 0.8813 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.009001, allocations: 12 kB / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.009004, allocations: 0 / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.009011, allocations: 0 / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.009016, allocations: 3.938 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009018, allocations: 0 / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.009277, allocations: 203.9 kB / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.009284, allocations: 0 / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.009297, allocations: 4 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.009357, allocations: 3.938 kB / 0.8815 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.009407, allocations: 7.984 kB / 0.8815 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.009411, allocations: 4.031 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.009496, allocations: 127.2 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.009496, allocations: 0 / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002182/0.009715, allocations: 7.938 kB / 0.8817 GB, free: 2.086 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.000145/0.00986, allocations: 95.23 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.01004, allocations: 31.67 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01004, allocations: 0 / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.01011, allocations: 23.75 kB / 0.8818 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.01038, allocations: 14.11 kB / 0.8818 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.01077, allocations: 118.5 kB / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.01085, allocations: 63.16 kB / 0.882 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.01087, allocations: 3.938 kB / 0.882 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.01091, allocations: 12.5 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of SimCode: time 6.72e-07/0.01091, allocations: 0 / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of Templates: time 0.003524/0.01443, allocations: 498.5 kB / 0.8825 GB, free: 1.191 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.641397474100813]