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.0009062/0.0009062, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001079/0.001079, allocations: 181 kB / 24.09 MB, free: 412 kB / 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 0.9128/0.9128, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.742/1.742, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] 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 1.683e-06/1.683e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.23e-05, allocations: 4.703 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0017/0.001733, allocations: 0.5385 MB / 0.788 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.002448, allocations: 149.1 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.002481, allocations: 0 / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.002501, allocations: 3.938 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.002709, allocations: 20.83 kB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.729e-05/0.002786, allocations: 27.84 kB / 0.7882 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.002844, allocations: 25.33 kB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.002884, allocations: 4 kB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.00293, allocations: 19.91 kB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.003298, allocations: 322.5 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.003318, allocations: 4 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.206e-05/0.00338, allocations: 12 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.003395, allocations: 13.48 kB / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.003413, allocations: 7.984 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.003519, allocations: 39.83 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003521, allocations: 0 / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003522, allocations: 1.969 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003526, allocations: 0 / 0.7887 GB, free: 11.09 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.0003009/0.003827, allocations: 380.4 kB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.003868, allocations: 8.031 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.003909, allocations: 4.938 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.227e-05/0.004001, allocations: 122.8 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.004012, allocations: 384 / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.004022, allocations: 4.375 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.004114, allocations: 46.86 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004122, allocations: 192 / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.00413, allocations: 4.125 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004136, allocations: 0.5625 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.004161, allocations: 11.98 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.004443, allocations: 269.8 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.802e-05/0.004481, allocations: 31.12 kB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.004495, allocations: 11.62 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.004503, allocations: 3.984 kB / 0.7895 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.004528, allocations: 38.33 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.00453, allocations: 0 / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001137/0.004643, allocations: 38.25 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.004671, allocations: 52.78 kB / 0.7897 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.004799, allocations: 197.9 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.004812, allocations: 25.7 kB / 0.7899 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.004878, allocations: 142.8 kB / 0.79 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.004884, allocations: 6.344 kB / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.004931, allocations: 35.34 kB / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.005061, allocations: 0.4883 MB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.005079, allocations: 4 kB / 0.7905 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.005095, allocations: 8 kB / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.005132, allocations: 23.66 kB / 0.7906 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005134, allocations: 0.7188 kB / 0.7906 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001041/0.005238, allocations: 65.52 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.005252, allocations: 8.531 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.005256, allocations: 1.656 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.005268, allocations: 0 / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-05/0.005286, allocations: 0 / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.005288, allocations: 4 kB / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.005313, allocations: 0 / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.00532, allocations: 0.6562 kB / 0.7906 GB, free: 8.895 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 (cmp1,cmp2,cmp3,cmp4,cmp5,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 7.398e-05/0.005394, allocations: 166 kB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.005422, allocations: 11.89 kB / 0.7908 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.005446, allocations: 7.469 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005449, allocations: 0 / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.005451, allocations: 1.156 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.005453, allocations: 0 / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.005722, allocations: 398.2 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005724, allocations: 0 / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-06/0.005729, allocations: 0 / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.005732, allocations: 0 / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-06/0.005735, allocations: 5.75 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.005737, allocations: 0 / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.005738, allocations: 0 / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.568e-05/0.005813, allocations: 84.27 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.00582, allocations: 0.75 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.005832, allocations: 4 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.005845, allocations: 0.875 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.005861, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.005863, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.241e-05/0.005925, allocations: 143.4 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.005926, allocations: 0 / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002034/0.006129, allocations: 15.94 kB / 0.7914 GB, free: 8.016 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.0002493/0.006378, allocations: 132.1 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.006457, allocations: 27.67 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.006459, allocations: 0 / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.00647, allocations: 15.62 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.006613, allocations: 7.891 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.006811, allocations: 126.2 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.328e-05/0.006845, allocations: 55.84 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.006873, allocations: 14.31 kB / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.006913, allocations: 66.2 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.006914, allocations: 0 / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.002713/0.009627, allocations: 0.659 MB / 0.7925 GB, free: 6.895 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.735899390652776]