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.0009313/0.0009313, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001525/0.001525, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9766/0.9766, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.921/1.921, allocations: 377.9 MB / 0.6236 GB, free: 8.562 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 2.345e-06/2.345e-06, allocations: 0 / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.098e-05, allocations: 3.375 kB / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001873/0.001904, allocations: 0.541 MB / 0.812 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005003/0.002404, allocations: 160.9 kB / 0.8122 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.002443, allocations: 0 / 0.8122 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.002468, allocations: 3.938 kB / 0.8122 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.002716, allocations: 8.703 kB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.442e-05/0.0028, allocations: 23.97 kB / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.002873, allocations: 29.48 kB / 0.8122 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.002923, allocations: 11.94 kB / 0.8123 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.002969, allocations: 11.98 kB / 0.8123 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.003359, allocations: 343.9 kB / 0.8126 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.003382, allocations: 0 / 0.8126 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.698e-05/0.003449, allocations: 8 kB / 0.8126 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.003467, allocations: 11.98 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.003492, allocations: 12.42 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.003613, allocations: 36.78 kB / 0.8127 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.003615, allocations: 0 / 0.8127 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003616, allocations: 0 / 0.8127 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.003621, allocations: 4.625 kB / 0.8127 GB, free: 0.6445 MB / 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.0003321/0.003953, allocations: 376.4 kB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.003997, allocations: 13.58 kB / 0.813 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.004046, allocations: 4.938 kB / 0.813 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.004261, allocations: 120.5 kB / 0.8132 GB, free: 84 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.004276, allocations: 12.25 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.004289, allocations: 1.094 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.004407, allocations: 42.25 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.004417, allocations: 0.7188 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.00443, allocations: 9.75 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.004439, allocations: 3.984 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.00448, allocations: 12 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.004846, allocations: 271.8 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.004893, allocations: 35.53 kB / 0.8135 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.004911, allocations: 7.688 kB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.004919, allocations: 0.6875 kB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.004948, allocations: 45.44 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.004949, allocations: 0.6875 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.005101, allocations: 38.67 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.005133, allocations: 51.41 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.005281, allocations: 203.2 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005292, allocations: 25.7 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.005358, allocations: 146.8 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.005364, allocations: 0 / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.005413, allocations: 33.11 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.005554, allocations: 0.4884 MB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.005579, allocations: 4 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.005601, allocations: 7.984 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.005642, allocations: 19.69 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.005646, allocations: 6.875 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001202/0.005766, allocations: 61.83 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.005782, allocations: 8 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.005787, allocations: 0 / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.005804, allocations: 7.938 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.213e-05/0.005826, allocations: 3.984 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.005835, allocations: 4 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.005862, allocations: 5.375 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.00587, allocations: 0 / 0.8147 GB, free: 14.41 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 (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.246e-05/0.005943, allocations: 160.5 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.005972, allocations: 11.95 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.006, allocations: 12.02 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006002, allocations: 0.5625 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.006005, allocations: 0 / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006008, allocations: 0.5625 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.006289, allocations: 412.9 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.00629, allocations: 4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.006296, allocations: 1.281 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.006297, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006303, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.006305, allocations: 2.562 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006306, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.849e-05/0.006385, allocations: 80.33 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.006393, allocations: 4 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.006406, allocations: 0 / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.006418, allocations: 0 / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.00644, allocations: 0 / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.006442, allocations: 0.5312 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.006511, allocations: 153.6 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.006511, allocations: 0 / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002313/0.006742, allocations: 12.94 kB / 0.8155 GB, free: 13.51 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.0003004/0.007043, allocations: 125 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.007151, allocations: 35.61 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007153, allocations: 2.219 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.007165, allocations: 11.69 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.007328, allocations: 7.953 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.007573, allocations: 122.3 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.007607, allocations: 55.34 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.007635, allocations: 5.312 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.007659, allocations: 16.5 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.00766, allocations: 0 / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of Templates: time 0.002999/0.01066, allocations: 0.5755 MB / 0.8164 GB, free: 12.53 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.348145782016218]