Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.00199/0.00199, allocations: 89.47 kB / 19.44 MB, free: 340 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.002886/0.002886, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.612/1.612, allocations: 177.1 MB / 203.1 MB, free: 5.539 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.479/3.479, allocations: 429.5 MB / 0.6729 GB, free: 4.004 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.649e-05, allocations: 4.562 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001795/0.001831, allocations: 0.5847 MB / 0.8781 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.947e-05/0.001881, allocations: 9.312 kB / 0.8781 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.001911, allocations: 0 / 0.8781 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.001932, allocations: 0.5469 kB / 0.8781 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.342e-05/0.001966, allocations: 1.125 kB / 0.8781 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.28e-05/0.001999, allocations: 0 / 0.8781 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.002069, allocations: 0.6562 kB / 0.8781 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.002116, allocations: 5.031 kB / 0.8781 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.002151, allocations: 0.6562 kB / 0.8781 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.455e-05/0.002176, allocations: 0 / 0.8781 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.00219, allocations: 2.266 kB / 0.8781 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.002194, allocations: 0 / 0.8781 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.002207, allocations: 3.938 kB / 0.8781 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.002224, allocations: 1.25 kB / 0.8781 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.51e-05/0.002289, allocations: 16.52 kB / 0.8781 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002291, allocations: 0 / 0.8781 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002291, allocations: 0 / 0.8781 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002296, allocations: 0.9375 kB / 0.8781 GB, free: 6.004 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003848/0.002681, allocations: 340.4 kB / 0.8784 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.002719, allocations: 10.25 kB / 0.8784 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.002763, allocations: 8.922 kB / 0.8784 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.00288, allocations: 104.6 kB / 0.8785 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.002894, allocations: 1.438 kB / 0.8785 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.002901, allocations: 384 / 0.8785 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.003001, allocations: 34.27 kB / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.003012, allocations: 4.844 kB / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.003019, allocations: 384 / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.003024, allocations: 2.375 kB / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.003045, allocations: 7.875 kB / 0.8786 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.003466, allocations: 482.2 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.003665, allocations: 262.5 kB / 0.8793 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.003745, allocations: 126.9 kB / 0.8794 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.003813, allocations: 119.2 kB / 0.8795 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.003925, allocations: 164.6 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.003926, allocations: 0 / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.606e-05/0.004012, allocations: 29.64 kB / 0.8797 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.004114, allocations: 170.6 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.004388, allocations: 157.9 kB / 0.88 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.004407, allocations: 25.7 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.004481, allocations: 132.1 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.004482, allocations: 0 / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.00451, allocations: 15.97 kB / 0.8802 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002595/0.00477, allocations: 497.5 kB / 0.8807 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-06/0.004775, allocations: 0 / 0.8807 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.004779, allocations: 0.75 kB / 0.8807 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.236e-05/0.004841, allocations: 119.2 kB / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-05/0.004912, allocations: 120.7 kB / 0.8809 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.484e-05/0.004967, allocations: 33.64 kB / 0.8809 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/0.005041, allocations: 129.8 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.529e-05/0.005106, allocations: 123.1 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.005242, allocations: 251.7 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.005303, allocations: 123.3 kB / 0.8815 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001267/0.00543, allocations: 246.3 kB / 0.8818 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.005525, allocations: 123.2 kB / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.005587, allocations: 119.2 kB / 0.882 GB, free: 1.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 (0): * Single equations (assignments): 0 * 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.0002263/0.005813, allocations: 399 kB / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.005922, allocations: 148.8 kB / 0.8825 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.691e-05/0.006019, allocations: 155.8 kB / 0.8827 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001369/0.006156, allocations: 272 kB / 0.8829 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001311/0.006287, allocations: 264.1 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001322/0.006419, allocations: 264.1 kB / 0.8834 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.006775, allocations: 0.4999 MB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.753e-05/0.006863, allocations: 145.1 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.00694, allocations: 152.8 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.007071, allocations: 268 kB / 0.8845 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.007206, allocations: 264.1 kB / 0.8847 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000142/0.007348, allocations: 283.9 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001318/0.00748, allocations: 264.1 kB / 0.8852 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.007739, allocations: 440 kB / 0.8857 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.007831, allocations: 148.9 kB / 0.8858 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.007976, allocations: 276 kB / 0.8861 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.008094, allocations: 156.8 kB / 0.8862 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.008235, allocations: 272 kB / 0.8865 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.008314, allocations: 149.2 kB / 0.8866 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.008382, allocations: 119.2 kB / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008382, allocations: 0 / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002325/0.008614, allocations: 0 / 0.8867 GB, free: 12.77 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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.0002039/0.008818, allocations: 218.4 kB / 0.8869 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.894e-05/0.008867, allocations: 3.938 kB / 0.8869 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008869, allocations: 96 / 0.8869 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-06/0.008876, allocations: 12 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.00955, allocations: 0.6992 MB / 0.8876 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.009867, allocations: 208.7 kB / 0.8878 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.733e-05/0.009934, allocations: 59.2 kB / 0.8879 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.184e-06/0.009936, allocations: 4 kB / 0.8879 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.009955, allocations: 8.5 kB / 0.8879 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.009956, allocations: 0 / 0.8879 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.002418/0.01237, allocations: 172.7 kB / 0.8881 GB, free: 11.33 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.722908701049164]