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.0009768/0.0009768, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009256/0.0009256, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.8763/0.8763, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.748/1.748, allocations: 359 MB / 0.6052 GB, free: 11.04 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.492e-06/1.492e-06, allocations: 0 / 0.787 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.744e-05, allocations: 8.156 kB / 0.7871 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0009935/0.001011, allocations: 0.5451 MB / 0.7876 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003038/0.001315, allocations: 157.5 kB / 0.7877 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.001338, allocations: 0 / 0.7877 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.001356, allocations: 3.938 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.00154, allocations: 11.92 kB / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.913e-05/0.001589, allocations: 28.78 kB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.196e-05/0.001641, allocations: 19.92 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.001676, allocations: 7.938 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.001708, allocations: 17.11 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.001972, allocations: 334.5 kB / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.001987, allocations: 0.7188 kB / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.215e-05/0.002039, allocations: 9.469 kB / 0.7882 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.002051, allocations: 11.98 kB / 0.7882 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.002069, allocations: 11.92 kB / 0.7882 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.002161, allocations: 35.89 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002163, allocations: 3.188 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002163, allocations: 0 / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.002168, allocations: 0 / 0.7882 GB, free: 11.42 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.0002603/0.002428, allocations: 372.4 kB / 0.7886 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.002465, allocations: 8.031 kB / 0.7886 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.002509, allocations: 12.92 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/0.002607, allocations: 124.5 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.00262, allocations: 4.375 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.00263, allocations: 384 / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.002727, allocations: 51.89 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.002733, allocations: 192 / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.002741, allocations: 8.062 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.002747, allocations: 0.5938 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.002774, allocations: 17.27 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.003036, allocations: 279.7 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.566e-05/0.003072, allocations: 30.94 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.003087, allocations: 9.281 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.003092, allocations: 0 / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.003109, allocations: 41.45 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.00311, allocations: 0 / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000107/0.003217, allocations: 39.17 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.003243, allocations: 59.34 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.003336, allocations: 189.9 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.003343, allocations: 25.7 kB / 0.7894 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.003387, allocations: 144.4 kB / 0.7896 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/0.003393, allocations: 7.922 kB / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.003424, allocations: 31.38 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.003528, allocations: 0.4884 MB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.003543, allocations: 6.125 kB / 0.7901 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.003558, allocations: 11.98 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.003583, allocations: 15.69 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.003586, allocations: 3.938 kB / 0.7901 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.045e-05/0.003657, allocations: 65.64 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.003667, allocations: 7.938 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.003671, allocations: 0.5312 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.003681, allocations: 0.7188 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.537e-05/0.003696, allocations: 7.984 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.0037, allocations: 0.5 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.003715, allocations: 1.562 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.003722, allocations: 4 kB / 0.7902 GB, free: 9.191 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 6.078e-05/0.003783, allocations: 156.5 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.003797, allocations: 7.953 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.003815, allocations: 8.281 kB / 0.7904 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.003816, allocations: 0 / 0.7904 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.003821, allocations: 12.89 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.003823, allocations: 0 / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.003997, allocations: 416.9 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.003998, allocations: 0 / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.004, allocations: 0.5938 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.004001, allocations: 1.375 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.004006, allocations: 0 / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.004007, allocations: 0 / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004007, allocations: 0 / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.936e-05/0.004057, allocations: 85.45 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-06/0.004061, allocations: 0 / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.004069, allocations: 0 / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-06/0.004075, allocations: 0.8125 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.004094, allocations: 7.938 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.004095, allocations: 0.5312 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.004144, allocations: 142.4 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004144, allocations: 0 / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001316/0.004275, allocations: 19.92 kB / 0.791 GB, free: 8.281 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.000204/0.004479, allocations: 127.9 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.543e-05/0.004555, allocations: 30.14 kB / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.004556, allocations: 0 / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.133e-06/0.004563, allocations: 11.69 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.004665, allocations: 11.95 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001871/0.004852, allocations: 128.3 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.004881, allocations: 59.34 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.0049, allocations: 10.12 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.004917, allocations: 8.5 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.004918, allocations: 0 / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of Templates: time 0.002133/0.00705, allocations: 0.6483 MB / 0.792 GB, free: 7.23 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.830234038177878]