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.00105/0.00105, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001126/0.001126, allocations: 169 kB / 24.27 MB, free: 284 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.9473/0.9473, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.841/1.841, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.252e-06/1.252e-06, allocations: 0 / 0.8115 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.328e-05, allocations: 2.312 kB / 0.8115 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0009004/0.0009137, allocations: 0.5543 MB / 0.812 GB, free: 480 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.001202, allocations: 156 kB / 0.8122 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.001227, allocations: 2.109 kB / 0.8122 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.001242, allocations: 7.938 kB / 0.8122 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.001423, allocations: 9.125 kB / 0.8122 GB, free: 304 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.408e-05/0.001467, allocations: 24.56 kB / 0.8122 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.243e-05/0.00152, allocations: 25.48 kB / 0.8122 GB, free: 256 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.001555, allocations: 11.94 kB / 0.8122 GB, free: 244 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.001584, allocations: 11.97 kB / 0.8123 GB, free: 232 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.001851, allocations: 337.8 kB / 0.8126 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.001866, allocations: 4 kB / 0.8126 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-05/0.001912, allocations: 11.98 kB / 0.8126 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.001924, allocations: 9.031 kB / 0.8126 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.001941, allocations: 7.922 kB / 0.8126 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.593e-05/0.002027, allocations: 39.88 kB / 0.8126 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002029, allocations: 0.7812 kB / 0.8127 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002029, allocations: 0 / 0.8127 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.165e-06/0.002032, allocations: 1.688 kB / 0.8127 GB, free: 15.86 MB / 0.7292 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.0002382/0.00227, allocations: 380.1 kB / 0.813 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.002302, allocations: 11.98 kB / 0.813 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.002336, allocations: 4.938 kB / 0.813 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.272e-05/0.002408, allocations: 116.6 kB / 0.8131 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.002417, allocations: 5.844 kB / 0.8131 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.002427, allocations: 8.312 kB / 0.8132 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.002504, allocations: 42.25 kB / 0.8132 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-06/0.002508, allocations: 192 / 0.8132 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.002517, allocations: 5.719 kB / 0.8132 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.002523, allocations: 4 kB / 0.8132 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.002549, allocations: 15.98 kB / 0.8132 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.002819, allocations: 271.8 kB / 0.8135 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.198e-05/0.002851, allocations: 35.47 kB / 0.8135 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.002864, allocations: 13.34 kB / 0.8135 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.00287, allocations: 0 / 0.8135 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.002886, allocations: 33.39 kB / 0.8136 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.002887, allocations: 0 / 0.8136 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.356e-05/0.00298, allocations: 42.36 kB / 0.8136 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.003004, allocations: 52.31 kB / 0.8136 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.003097, allocations: 203.6 kB / 0.8138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.003105, allocations: 25.7 kB / 0.8139 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.003149, allocations: 144 kB / 0.814 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-06/0.003153, allocations: 7.891 kB / 0.814 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.003181, allocations: 27.38 kB / 0.814 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.003332, allocations: 0.4936 MB / 0.8145 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.003346, allocations: 4 kB / 0.8145 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.00336, allocations: 8.109 kB / 0.8145 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.003387, allocations: 23.69 kB / 0.8146 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.003389, allocations: 5.688 kB / 0.8146 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.448e-05/0.003453, allocations: 61.64 kB / 0.8146 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.003462, allocations: 4 kB / 0.8146 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.003466, allocations: 4 kB / 0.8146 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.003475, allocations: 1.188 kB / 0.8146 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.379e-05/0.003488, allocations: 7.922 kB / 0.8146 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.003492, allocations: 0 / 0.8146 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.003508, allocations: 10.5 kB / 0.8146 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.003513, allocations: 0 / 0.8146 GB, free: 13.63 MB / 0.7292 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 5.398e-05/0.003567, allocations: 160.5 kB / 0.8148 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.003583, allocations: 7.953 kB / 0.8148 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.0036, allocations: 11.41 kB / 0.8148 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.003602, allocations: 3.984 kB / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.003604, allocations: 0 / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.003607, allocations: 1.719 kB / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.003765, allocations: 412.2 kB / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.003765, allocations: 0 / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/0.003767, allocations: 0 / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.003768, allocations: 4.5 kB / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-06/0.003772, allocations: 0.5625 kB / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.003773, allocations: 0 / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.003773, allocations: 1.688 kB / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.51e-05/0.003819, allocations: 80.33 kB / 0.8153 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-06/0.003822, allocations: 0 / 0.8153 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.00383, allocations: 8.062 kB / 0.8153 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-06/0.003836, allocations: 2.594 kB / 0.8153 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.003852, allocations: 0 / 0.8153 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-07/0.003853, allocations: 0 / 0.8153 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.003897, allocations: 147.2 kB / 0.8154 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003897, allocations: 0 / 0.8154 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001216/0.004018, allocations: 15.94 kB / 0.8155 GB, free: 12.71 MB / 0.7292 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.0001908/0.004209, allocations: 131.3 kB / 0.8156 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.426e-05/0.004273, allocations: 32.45 kB / 0.8156 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004275, allocations: 0 / 0.8156 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.982e-06/0.004281, allocations: 8.188 kB / 0.8156 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.395e-05/0.004375, allocations: 8.844 kB / 0.8156 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001588/0.004534, allocations: 128.3 kB / 0.8158 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.51e-05/0.004559, allocations: 59.34 kB / 0.8158 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.004578, allocations: 12.06 kB / 0.8158 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.004593, allocations: 12.5 kB / 0.8158 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.004593, allocations: 0 / 0.8158 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of Templates: time 0.001971/0.006564, allocations: 0.5764 MB / 0.8164 GB, free: 11.73 MB / 0.7292 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: 4.955396224046126]