Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.001903/0.001903, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002061/0.002061, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.877/2.877, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.96e-05, allocations: 3.188 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001684/0.001713, allocations: 0.5506 MB / 0.7869 GB, free: 11.15 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 4.027e-05/0.001754, allocations: 4.125 kB / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.001781, allocations: 0 / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.001799, allocations: 0.875 kB / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.001831, allocations: 0 / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.189e-05/0.001863, allocations: 4.859 kB / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.001915, allocations: 4 kB / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.001951, allocations: 0.7188 kB / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.00198, allocations: 0 / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.209e-05/0.002002, allocations: 1.031 kB / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.002017, allocations: 4 kB / 0.7869 GB, free: 11.13 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.037e-06/0.002021, allocations: 3.938 kB / 0.7869 GB, free: 11.13 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.002035, allocations: 5.219 kB / 0.787 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.00205, allocations: 0 / 0.787 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.268e-05/0.002102, allocations: 3.984 kB / 0.787 GB, free: 11.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002105, allocations: 1.75 kB / 0.787 GB, free: 11.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002105, allocations: 0 / 0.787 GB, free: 11.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.002109, allocations: 0 / 0.787 GB, free: 11.12 MB / 0.698 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.0003929/0.002502, allocations: 344.3 kB / 0.7873 GB, free: 10.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.002537, allocations: 12.03 kB / 0.7873 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.002572, allocations: 1.781 kB / 0.7873 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.002693, allocations: 112.6 kB / 0.7874 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.002706, allocations: 8.969 kB / 0.7874 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.002712, allocations: 384 / 0.7874 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.638e-05/0.002788, allocations: 27.64 kB / 0.7874 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.002796, allocations: 192 / 0.7874 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.002802, allocations: 384 / 0.7874 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.002805, allocations: 1.688 kB / 0.7874 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.002822, allocations: 7.938 kB / 0.7875 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.003242, allocations: 474.2 kB / 0.7879 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.00342, allocations: 265.4 kB / 0.7882 GB, free: 9.777 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.421e-05/0.003494, allocations: 132 kB / 0.7883 GB, free: 9.645 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.631e-05/0.00356, allocations: 119.2 kB / 0.7884 GB, free: 9.527 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.274e-05/0.003653, allocations: 154 kB / 0.7885 GB, free: 9.367 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 3.156e-06/0.003656, allocations: 3.984 kB / 0.7885 GB, free: 9.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.211e-05/0.003738, allocations: 41.58 kB / 0.7886 GB, free: 9.316 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.003842, allocations: 170.6 kB / 0.7888 GB, free: 9.137 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.003972, allocations: 151.5 kB / 0.7889 GB, free: 8.973 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.003989, allocations: 25.7 kB / 0.7889 GB, free: 8.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.004072, allocations: 134.9 kB / 0.789 GB, free: 8.805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.004074, allocations: 6.594 kB / 0.7891 GB, free: 8.801 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.004107, allocations: 15.38 kB / 0.7891 GB, free: 8.777 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002739/0.00438, allocations: 496.1 kB / 0.7895 GB, free: 8.281 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-06/0.004384, allocations: 0 / 0.7895 GB, free: 8.281 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.00439, allocations: 4 kB / 0.7895 GB, free: 8.277 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.304e-05/0.004453, allocations: 119.2 kB / 0.7897 GB, free: 8.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.994e-05/0.004513, allocations: 119.2 kB / 0.7898 GB, free: 8.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.037e-05/0.004573, allocations: 27.03 kB / 0.7898 GB, free: 8.012 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.004647, allocations: 131.1 kB / 0.7899 GB, free: 7.883 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.377e-05/0.004711, allocations: 124.8 kB / 0.79 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.004839, allocations: 238.4 kB / 0.7903 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.004908, allocations: 135.2 kB / 0.7904 GB, free: 7.395 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/0.005026, allocations: 242.4 kB / 0.7906 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.005137, allocations: 128.2 kB / 0.7908 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.0052, allocations: 123.2 kB / 0.7909 GB, free: 6.91 MB / 0.698 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.0002138/0.005414, allocations: 391 kB / 0.7912 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.005509, allocations: 146.5 kB / 0.7914 GB, free: 6.367 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.005619, allocations: 163.8 kB / 0.7915 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001344/0.005753, allocations: 264.1 kB / 0.7918 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003717/0.006125, allocations: 272 kB / 0.792 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00013/0.006255, allocations: 270.1 kB / 0.7923 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.006584, allocations: 499.9 kB / 0.7928 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.626e-05/0.006661, allocations: 148.8 kB / 0.7929 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.006739, allocations: 148.9 kB / 0.7931 GB, free: 4.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.00687, allocations: 268 kB / 0.7933 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.007004, allocations: 268.7 kB / 0.7936 GB, free: 4.012 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001448/0.007149, allocations: 272 kB / 0.7938 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001375/0.007286, allocations: 272.5 kB / 0.7941 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.007552, allocations: 444.7 kB / 0.7945 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.007631, allocations: 144.9 kB / 0.7947 GB, free: 2.855 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.007785, allocations: 272.6 kB / 0.7949 GB, free: 2.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.007898, allocations: 154.2 kB / 0.7951 GB, free: 2.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.008044, allocations: 264.1 kB / 0.7953 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.008127, allocations: 153.2 kB / 0.7955 GB, free: 2.004 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.08e-05/0.008197, allocations: 123.2 kB / 0.7956 GB, free: 1.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.008198, allocations: 0.5312 kB / 0.7956 GB, free: 1.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002498/0.008447, allocations: 5.312 kB / 0.7956 GB, free: 1.879 MB / 0.698 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.0001916/0.008639, allocations: 219.8 kB / 0.7958 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.147e-05/0.00868, allocations: 1.156 kB / 0.7958 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008682, allocations: 0 / 0.7958 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.008683, allocations: 0 / 0.7958 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.009248, allocations: 0.7075 MB / 0.7965 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.009523, allocations: 215.7 kB / 0.7967 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.009582, allocations: 55.34 kB / 0.7967 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.164e-06/0.009584, allocations: 1.75 kB / 0.7968 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.009604, allocations: 8.5 kB / 0.7968 GB, free: 0.625 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.009605, allocations: 4 kB / 0.7968 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of Templates: time 0.002282/0.01189, allocations: 170.6 kB / 0.7969 GB, free: 468 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.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: 7.7945781640009955]