Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.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.001913/0.001913, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001977/0.001977, 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.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.856/2.856, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.572e-06, allocations: 4.656 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/3.079e-05, allocations: 8.922 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001559/0.00159, allocations: 0.5411 MB / 0.7869 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.002029, allocations: 156 kB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.002061, allocations: 4 kB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.002075, allocations: 5.156 kB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.002258, allocations: 7.922 kB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.512e-05/0.002323, allocations: 19.97 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.002381, allocations: 24.61 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.00242, allocations: 7.938 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.002467, allocations: 20.81 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.002903, allocations: 320.5 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.002922, allocations: 4 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.002981, allocations: 17.58 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.002996, allocations: 7.938 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.003023, allocations: 15.92 kB / 0.7875 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.003132, allocations: 39.81 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003133, allocations: 0.5312 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003134, allocations: 0 / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003138, allocations: 3.438 kB / 0.7875 GB, free: 11.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004223/0.00356, allocations: 376.1 kB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.003596, allocations: 8.031 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.00364, allocations: 8.938 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.003774, allocations: 116.6 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.003787, allocations: 384 / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.003797, allocations: 4.375 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.003918, allocations: 50.8 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.003928, allocations: 192 / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.003941, allocations: 8.828 kB / 0.788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.003945, allocations: 0 / 0.788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.031e-05/0.003995, allocations: 17.66 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.004396, allocations: 271.8 kB / 0.7883 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.28e-05/0.004459, allocations: 38.94 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.004482, allocations: 11.62 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.004491, allocations: 5.219 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.004524, allocations: 37.39 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.004525, allocations: 0 / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.004687, allocations: 42.42 kB / 0.7884 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.004732, allocations: 52.75 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.004932, allocations: 201.8 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.004952, allocations: 25.7 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.005052, allocations: 146.8 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.005055, allocations: 0.8438 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.005107, allocations: 27.38 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002702/0.005377, allocations: 0.4935 MB / 0.7894 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.005405, allocations: 7.938 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.005436, allocations: 15.98 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.005478, allocations: 17.06 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.005482, allocations: 3.938 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001429/0.005625, allocations: 65.64 kB / 0.7895 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.005641, allocations: 4 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.005645, allocations: 0.5312 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.005661, allocations: 4.531 kB / 0.7895 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.71e-05/0.005688, allocations: 7.922 kB / 0.7895 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.005693, allocations: 0.875 kB / 0.7895 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.005724, allocations: 7.938 kB / 0.7895 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.005735, allocations: 4.812 kB / 0.7895 GB, free: 9.457 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: 6 (cmp5,cmp4,cmp3,cmp2,cmp1,cmpAll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.000119/0.005854, allocations: 160.5 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.005883, allocations: 4.484 kB / 0.7897 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.005917, allocations: 16.83 kB / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005919, allocations: 0 / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.005922, allocations: 0 / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.005924, allocations: 0 / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.00629, allocations: 413.5 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006291, allocations: 0 / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.006296, allocations: 8.125 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006297, allocations: 0.6562 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.006305, allocations: 4 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006306, allocations: 4.656 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006307, allocations: 0 / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.006409, allocations: 81.14 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.006419, allocations: 4.938 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.00643, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.293e-05/0.006443, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.006475, allocations: 1.219 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.006477, allocations: 4 kB / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001107/0.006588, allocations: 149.5 kB / 0.7903 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006588, allocations: 0.9688 kB / 0.7903 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002006/0.006788, allocations: 12 kB / 0.7903 GB, free: 8.543 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: 1 (cmpAll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.000343/0.007131, allocations: 126.1 kB / 0.7904 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.007243, allocations: 42.77 kB / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007244, allocations: 0 / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.007271, allocations: 11.69 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.007401, allocations: 0 / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.007678, allocations: 134.2 kB / 0.7906 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.007747, allocations: 67.33 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.007776, allocations: 8.375 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.007801, allocations: 13.62 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of SimCode: time 4.9e-07/0.007801, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.003475/0.01128, allocations: 0.575 MB / 0.7913 GB, free: 7.547 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.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.805420181015506]