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.001268/0.001268, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001352/0.001352, allocations: 169 kB / 24.28 MB, free: 276 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.9617/0.9617, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.753/1.753, allocations: 359 MB / 0.6055 GB, free: 10.98 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.213e-06/1.213e-06, allocations: 0 / 0.787 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.158e-05, allocations: 3.656 kB / 0.7871 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001057/0.001078, allocations: 0.551 MB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.001402, allocations: 152.1 kB / 0.7877 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.001431, allocations: 5.25 kB / 0.7877 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.001448, allocations: 3.938 kB / 0.7877 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.00164, allocations: 7.875 kB / 0.7878 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.83e-05/0.001688, allocations: 28.78 kB / 0.7878 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.001744, allocations: 23.92 kB / 0.7878 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.001779, allocations: 4.688 kB / 0.7878 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.00181, allocations: 15.91 kB / 0.7878 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.002106, allocations: 327.5 kB / 0.7881 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.002124, allocations: 4.656 kB / 0.7881 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.609e-05/0.00218, allocations: 19.97 kB / 0.7882 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.002196, allocations: 11.38 kB / 0.7882 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.002217, allocations: 4 kB / 0.7882 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.002323, allocations: 39.81 kB / 0.7882 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002325, allocations: 0 / 0.7882 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.42e-07/0.002325, allocations: 0 / 0.7882 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.002329, allocations: 0 / 0.7882 GB, free: 11.58 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.0003145/0.002644, allocations: 384.4 kB / 0.7886 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.002685, allocations: 8.031 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.002729, allocations: 4.938 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.002835, allocations: 113.3 kB / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.002855, allocations: 384 / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.002869, allocations: 13.97 kB / 0.7887 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.00298, allocations: 46.84 kB / 0.7888 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.002989, allocations: 192 / 0.7888 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.003003, allocations: 4.125 kB / 0.7888 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.003012, allocations: 4 kB / 0.7888 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.062e-05/0.003042, allocations: 13.33 kB / 0.7888 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.003375, allocations: 275.7 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.503e-05/0.00342, allocations: 38.94 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.003437, allocations: 9.281 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.003443, allocations: 0 / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.003468, allocations: 33.39 kB / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.003469, allocations: 64 / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.003598, allocations: 42.69 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.003631, allocations: 51.41 kB / 0.7892 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.00376, allocations: 199.4 kB / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.003774, allocations: 25.7 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.00384, allocations: 142.8 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.003849, allocations: 7.875 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.003883, allocations: 31.89 kB / 0.7896 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.004015, allocations: 0.4923 MB / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.004031, allocations: 4.594 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.004047, allocations: 12.53 kB / 0.7901 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.004081, allocations: 19.67 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.004084, allocations: 4.719 kB / 0.7901 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.054e-05/0.004174, allocations: 61.64 kB / 0.7902 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.004187, allocations: 8.906 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.004193, allocations: 0 / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.004209, allocations: 0.5312 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.935e-05/0.004228, allocations: 3.938 kB / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.004234, allocations: 1.375 kB / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.004254, allocations: 4 kB / 0.7902 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.004262, allocations: 3.984 kB / 0.7902 GB, free: 9.355 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 7.902e-05/0.004341, allocations: 165.8 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.004356, allocations: 7.953 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.00438, allocations: 3.469 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.004382, allocations: 0.6562 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.004387, allocations: 0 / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.004392, allocations: 0.7188 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.00463, allocations: 416.2 kB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004632, allocations: 1.031 kB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.004639, allocations: 7.984 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.004642, allocations: 0.9062 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.004649, allocations: 0 / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00465, allocations: 192 / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.004652, allocations: 5.219 kB / 0.7908 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.554e-05/0.004718, allocations: 72.34 kB / 0.7908 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.004728, allocations: 8.828 kB / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.004738, allocations: 0 / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-06/0.004746, allocations: 7.922 kB / 0.7909 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.00477, allocations: 2.219 kB / 0.7909 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.004772, allocations: 0 / 0.7909 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.004827, allocations: 143.2 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004827, allocations: 0 / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001476/0.004975, allocations: 19.88 kB / 0.791 GB, free: 8.441 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.0002522/0.005227, allocations: 132.2 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.005337, allocations: 31.61 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.005339, allocations: 0 / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-06/0.005349, allocations: 8.938 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.005464, allocations: 11.95 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.00571, allocations: 122.2 kB / 0.7913 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.734e-05/0.005747, allocations: 55.98 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.005773, allocations: 16.3 kB / 0.7914 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.005794, allocations: 13.06 kB / 0.7914 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.005795, allocations: 0.9688 kB / 0.7914 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.002482/0.008277, allocations: 0.5744 MB / 0.792 GB, free: 7.457 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.960153967142105]