Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009588/0.0009588, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009878/0.0009878, allocations: 177 kB / 23.36 MB, free: 1.137 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.9544/0.9544, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.385/2.385, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.169e-05, allocations: 8.5 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001131/0.001153, allocations: 0.5325 MB / 0.8391 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003354/0.001488, allocations: 160 kB / 0.8392 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.00151, allocations: 0 / 0.8392 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.001523, allocations: 0 / 0.8392 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.00171, allocations: 15.86 kB / 0.8392 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.642e-05/0.001756, allocations: 27.84 kB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.001809, allocations: 19.92 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.001843, allocations: 7.984 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.001877, allocations: 19.92 kB / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.002127, allocations: 329.8 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.002141, allocations: 0 / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.244e-05/0.002194, allocations: 16 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.002206, allocations: 3.938 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.002223, allocations: 15.97 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.86e-05/0.002311, allocations: 43.77 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002313, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002314, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.002318, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 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.0002103/0.002528, allocations: 248.8 kB / 0.8399 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.002557, allocations: 12.03 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.002579, allocations: 8.922 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.012e-05/0.002649, allocations: 117.7 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.002658, allocations: 384 / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.002668, allocations: 4.375 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.754e-05/0.002735, allocations: 46.23 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.002741, allocations: 4.125 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.002749, allocations: 4.125 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-06/0.002752, allocations: 0 / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.002769, allocations: 11.98 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.002956, allocations: 172.3 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.633e-05/0.002983, allocations: 18.58 kB / 0.8403 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.011e-05/0.002993, allocations: 8.859 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.002999, allocations: 3.938 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.003018, allocations: 38.56 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.003019, allocations: 0 / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.635e-05/0.003096, allocations: 33.69 kB / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.003123, allocations: 51.41 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.003196, allocations: 142.6 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.003204, allocations: 25.7 kB / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.003239, allocations: 99.95 kB / 0.8407 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-06/0.003244, allocations: 4.109 kB / 0.8407 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.003271, allocations: 29.7 kB / 0.8407 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.00334, allocations: 314.8 kB / 0.841 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.003349, allocations: 4 kB / 0.841 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.003358, allocations: 8 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.392e-05/0.003382, allocations: 20.77 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003384, allocations: 4 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.179e-05/0.003435, allocations: 49.81 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.003446, allocations: 11.98 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.003451, allocations: 4 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.003461, allocations: 0 / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.384e-05/0.003474, allocations: 4 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.003478, allocations: 4 kB / 0.8411 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.003494, allocations: 3.953 kB / 0.8411 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.003499, allocations: 0 / 0.8411 GB, free: 11.42 MB / 0.8073 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 5.236e-05/0.003551, allocations: 113.8 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.003569, allocations: 7.922 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.003585, allocations: 11.47 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.003586, allocations: 0 / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.003588, allocations: 0 / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.00359, allocations: 0 / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.003755, allocations: 274.9 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.003755, allocations: 0 / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-06/0.003758, allocations: 0 / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.00376, allocations: 0 / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-06/0.003762, allocations: 0 / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.003763, allocations: 4 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.003764, allocations: 3.938 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.189e-05/0.003806, allocations: 61.06 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-06/0.00381, allocations: 3.953 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.003818, allocations: 0 / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-06/0.003824, allocations: 0 / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.003838, allocations: 8.062 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-07/0.003839, allocations: 0 / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.837e-05/0.003857, allocations: 23.66 kB / 0.8416 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003857, allocations: 3.938 kB / 0.8416 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000103/0.00396, allocations: 15.94 kB / 0.8417 GB, free: 10.84 MB / 0.8073 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.0002042/0.004164, allocations: 112 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.679e-05/0.004221, allocations: 32.78 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.004225, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-06/0.00423, allocations: 4.859 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.36e-05/0.004283, allocations: 11.94 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001475/0.004431, allocations: 120.5 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.004461, allocations: 54.48 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.00448, allocations: 7.984 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.004514, allocations: 51.38 kB / 0.842 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.004515, allocations: 0 / 0.842 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.00217/0.006684, allocations: 0.6657 MB / 0.8427 GB, free: 9.742 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.296081083826721]