Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001922/0.001922, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002056/0.002056, 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.666/1.666, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 3.148/3.148, allocations: 359 MB / 0.6048 GB, free: 10.98 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.904e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001623/0.001652, allocations: 0.5548 MB / 0.7869 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 3.633e-05/0.001688, allocations: 4.188 kB / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.001714, allocations: 0 / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.001737, allocations: 4.469 kB / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.154e-05/0.001769, allocations: 0 / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.916e-05/0.001798, allocations: 0.7812 kB / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.00185, allocations: 4 kB / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.00189, allocations: 5.125 kB / 0.7869 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.887e-05/0.001919, allocations: 0 / 0.7869 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.189e-05/0.00194, allocations: 0 / 0.7869 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.001953, allocations: 1 kB / 0.7869 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-06/0.001956, allocations: 0 / 0.7869 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.001967, allocations: 3.938 kB / 0.787 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.001982, allocations: 0.5625 kB / 0.787 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.134e-05/0.002033, allocations: 8.672 kB / 0.787 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002035, allocations: 0 / 0.787 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002036, allocations: 0.9062 kB / 0.787 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.002039, allocations: 0 / 0.787 GB, free: 12.27 MB / 0.7448 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.0003821/0.002421, allocations: 345 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.002459, allocations: 8.031 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.002498, allocations: 10.58 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.002612, allocations: 104.6 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.002624, allocations: 384 / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.002631, allocations: 384 / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.002712, allocations: 35.55 kB / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.002719, allocations: 192 / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.002726, allocations: 384 / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.00273, allocations: 384 / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.576e-05/0.002746, allocations: 5.531 kB / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.003152, allocations: 478.2 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.00333, allocations: 265.4 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.003403, allocations: 130.9 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.414e-05/0.003467, allocations: 122.7 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.003672, allocations: 156.6 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.003673, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.72e-05/0.00375, allocations: 29.64 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.003849, allocations: 170.6 kB / 0.7887 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.003977, allocations: 157.9 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.003994, allocations: 25.7 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.004075, allocations: 142.8 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.004076, allocations: 0.7188 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.00411, allocations: 19.38 kB / 0.7891 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.004362, allocations: 492.8 kB / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.004366, allocations: 0 / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-06/0.004368, allocations: 0.5 kB / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.004429, allocations: 119.9 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-05/0.004489, allocations: 119.2 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.48e-05/0.004543, allocations: 31.31 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.004619, allocations: 123.2 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.82e-05/0.004688, allocations: 135.1 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.00482, allocations: 246.9 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.00488, allocations: 124.6 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001217/0.005002, allocations: 246.4 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.005098, allocations: 119.2 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.00516, allocations: 123.1 kB / 0.7909 GB, free: 8.066 MB / 0.7448 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.0002226/0.005383, allocations: 396.1 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.005472, allocations: 144.9 kB / 0.7914 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.59e-05/0.005568, allocations: 164.3 kB / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001338/0.005702, allocations: 268.1 kB / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001327/0.005835, allocations: 264.9 kB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001351/0.00597, allocations: 268 kB / 0.7923 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.006317, allocations: 0.493 MB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.793e-05/0.006395, allocations: 148.8 kB / 0.7929 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.006479, allocations: 149.9 kB / 0.7931 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.006615, allocations: 264.1 kB / 0.7933 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.006755, allocations: 268 kB / 0.7936 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001543/0.006909, allocations: 279 kB / 0.7938 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001395/0.007049, allocations: 268 kB / 0.7941 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.007307, allocations: 444 kB / 0.7945 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.007388, allocations: 152.9 kB / 0.7947 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.007526, allocations: 264.1 kB / 0.7949 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.007647, allocations: 152.8 kB / 0.7951 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.007786, allocations: 272.1 kB / 0.7953 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.007863, allocations: 149.2 kB / 0.7955 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.00793, allocations: 120.6 kB / 0.7956 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00793, allocations: 3.938 kB / 0.7956 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002421/0.008172, allocations: 7.953 kB / 0.7956 GB, free: 3.031 MB / 0.7448 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.0002837/0.008456, allocations: 219.5 kB / 0.7958 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.069e-05/0.008496, allocations: 0.5625 kB / 0.7958 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008498, allocations: 0.8438 kB / 0.7958 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.008499, allocations: 0 / 0.7958 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.009025, allocations: 0.7072 MB / 0.7965 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.009302, allocations: 204.6 kB / 0.7967 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.009363, allocations: 63.28 kB / 0.7967 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.913e-06/0.009365, allocations: 0.9688 kB / 0.7968 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.009382, allocations: 8.5 kB / 0.7968 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.009382, allocations: 1.625 kB / 0.7968 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of Templates: time 0.002229/0.01161, allocations: 172.6 kB / 0.7969 GB, free: 1.613 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.29912315600086]