Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001455/0.001455, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001829/0.001829, allocations: 170.8 kB / 24.86 MB, free: 8.367 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.9861/0.9861, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.902/1.902, allocations: 377.9 MB / 0.6247 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0.7656 kB / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.339e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001934/0.001957, allocations: 0.5398 MB / 0.8133 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004247/0.002382, allocations: 160 kB / 0.8134 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.00242, allocations: 0.6875 kB / 0.8134 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.002437, allocations: 0.9062 kB / 0.8134 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.002663, allocations: 11.92 kB / 0.8134 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.012e-05/0.002733, allocations: 31.84 kB / 0.8135 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.002794, allocations: 20.58 kB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.002843, allocations: 4.531 kB / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.002886, allocations: 19.91 kB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.003285, allocations: 337.8 kB / 0.8138 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.003305, allocations: 0 / 0.8138 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.003374, allocations: 12.86 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.003392, allocations: 15.92 kB / 0.8138 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.00341, allocations: 5.156 kB / 0.8139 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003526, allocations: 43.75 kB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.003529, allocations: 4 kB / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.703e-06/0.00353, allocations: 1.5 kB / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.003535, allocations: 0 / 0.8139 GB, free: 340 kB / 0.7605 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.0003285/0.003864, allocations: 372.4 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.003909, allocations: 11.98 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.003948, allocations: 6.469 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.004058, allocations: 120.5 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.004074, allocations: 8.375 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.004083, allocations: 384 / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.355e-05/0.004176, allocations: 44.06 kB / 0.8144 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.004189, allocations: 4.172 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.004199, allocations: 8.125 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004206, allocations: 0 / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.004239, allocations: 11.94 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.004589, allocations: 261.7 kB / 0.8147 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.766e-05/0.004626, allocations: 27 kB / 0.8147 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.038e-05/0.004637, allocations: 11.62 kB / 0.8147 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.004643, allocations: 5.344 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.00466, allocations: 33.39 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.004661, allocations: 0 / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 9.151e-05/0.004753, allocations: 38.25 kB / 0.8148 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.004778, allocations: 59.41 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.004862, allocations: 192.2 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-06/0.004871, allocations: 27.73 kB / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.004917, allocations: 146.8 kB / 0.8152 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.004921, allocations: 3.938 kB / 0.8152 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.004951, allocations: 31.34 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.005064, allocations: 0.4884 MB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.005075, allocations: 4 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.005088, allocations: 12.52 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.005115, allocations: 24.45 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005117, allocations: 4 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.128e-05/0.005188, allocations: 63.02 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.005197, allocations: 4 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.005201, allocations: 0 / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.005208, allocations: 0 / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.374e-05/0.005222, allocations: 4.625 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.005224, allocations: 0 / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.005239, allocations: 5.031 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.005247, allocations: 7.984 kB / 0.8159 GB, free: 14.14 MB / 0.7761 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 6.047e-05/0.005307, allocations: 157.3 kB / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.005327, allocations: 11.89 kB / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.005342, allocations: 8.156 kB / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.005345, allocations: 4 kB / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.005347, allocations: 1.281 kB / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.005349, allocations: 0 / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.005533, allocations: 388.9 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005533, allocations: 4.812 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.005535, allocations: 0 / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005536, allocations: 0.9375 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.00554, allocations: 0 / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005541, allocations: 5.281 kB / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005541, allocations: 0 / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.675e-05/0.005588, allocations: 80.27 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-06/0.005592, allocations: 4.969 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-06/0.0056, allocations: 0 / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-06/0.005606, allocations: 0 / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.005618, allocations: 2.312 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-07/0.005618, allocations: 0 / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.005662, allocations: 149.8 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005662, allocations: 0 / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001315/0.005794, allocations: 15.94 kB / 0.8167 GB, free: 13.27 MB / 0.7761 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.0001893/0.005983, allocations: 124.3 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.006053, allocations: 31.61 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006054, allocations: 0 / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.271e-06/0.006061, allocations: 11.69 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.974e-05/0.00616, allocations: 19.88 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001424/0.006303, allocations: 111.2 kB / 0.8169 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.666e-05/0.006329, allocations: 59.84 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.006349, allocations: 4 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.00638, allocations: 70.77 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.006381, allocations: 0.5625 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.001907/0.008288, allocations: 0.6746 MB / 0.8177 GB, free: 12.14 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.1145378071814775]