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.001356/0.001356, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001523/0.001523, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9275/0.9275, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.794/1.794, allocations: 377.8 MB / 0.6236 GB, free: 8.512 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.034e-06/2.034e-06, allocations: 0 / 0.8115 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.892e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001654/0.001683, allocations: 0.5483 MB / 0.812 GB, free: 84 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004915/0.002175, allocations: 156 kB / 0.8122 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.002206, allocations: 5.641 kB / 0.8122 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.002229, allocations: 1.156 kB / 0.8122 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.002465, allocations: 4.703 kB / 0.8122 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 7.096e-05/0.002536, allocations: 29 kB / 0.8122 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/0.002612, allocations: 31.84 kB / 0.8122 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.002653, allocations: 9.25 kB / 0.8122 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.002695, allocations: 15.98 kB / 0.8123 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003821/0.003077, allocations: 337.3 kB / 0.8126 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.003098, allocations: 0 / 0.8126 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-05/0.003165, allocations: 15.98 kB / 0.8126 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.003179, allocations: 4 kB / 0.8126 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.003203, allocations: 11.92 kB / 0.8126 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.003326, allocations: 41.2 kB / 0.8127 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003328, allocations: 0 / 0.8127 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003329, allocations: 0 / 0.8127 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.003334, allocations: 0 / 0.8127 GB, free: 15.47 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.0003438/0.003678, allocations: 381.6 kB / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.003724, allocations: 11.98 kB / 0.813 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.003772, allocations: 4.938 kB / 0.813 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.003872, allocations: 112.6 kB / 0.8131 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.003886, allocations: 9.656 kB / 0.8132 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.003898, allocations: 4.375 kB / 0.8132 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.004009, allocations: 46.23 kB / 0.8132 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.004018, allocations: 2.125 kB / 0.8132 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.004033, allocations: 4.125 kB / 0.8132 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.004045, allocations: 11.98 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.004086, allocations: 15.92 kB / 0.8132 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.004427, allocations: 275.8 kB / 0.8135 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.004475, allocations: 33.16 kB / 0.8135 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.004493, allocations: 7.688 kB / 0.8135 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.004499, allocations: 0 / 0.8135 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.004524, allocations: 37.45 kB / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.004525, allocations: 0 / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.004667, allocations: 34.17 kB / 0.8136 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.0047, allocations: 51.41 kB / 0.8137 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.004836, allocations: 208.3 kB / 0.8139 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.004848, allocations: 25.7 kB / 0.8139 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.004904, allocations: 139.4 kB / 0.814 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.004914, allocations: 13.53 kB / 0.814 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.004956, allocations: 31.36 kB / 0.8141 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.005087, allocations: 496.1 kB / 0.8145 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.00511, allocations: 7.984 kB / 0.8145 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.005129, allocations: 8.531 kB / 0.8145 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.005172, allocations: 27.61 kB / 0.8146 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.005175, allocations: 5.25 kB / 0.8146 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001151/0.00529, allocations: 57.64 kB / 0.8146 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.005306, allocations: 8 kB / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.00531, allocations: 1.156 kB / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.005324, allocations: 0 / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.907e-05/0.005343, allocations: 0 / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005348, allocations: 1 kB / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.005372, allocations: 7.938 kB / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.005381, allocations: 0 / 0.8146 GB, free: 13.25 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 7.886e-05/0.005459, allocations: 173.1 kB / 0.8148 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.005486, allocations: 8.984 kB / 0.8148 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.005511, allocations: 7.406 kB / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005513, allocations: 0 / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.005516, allocations: 0.8438 kB / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005519, allocations: 192 / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.005785, allocations: 417.8 kB / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005787, allocations: 0 / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-06/0.005791, allocations: 4 kB / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.005795, allocations: 3.984 kB / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.005801, allocations: 1 kB / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.005803, allocations: 0 / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.005804, allocations: 0 / 0.8152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.934e-05/0.005873, allocations: 78.34 kB / 0.8153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.00588, allocations: 4 kB / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.005892, allocations: 0 / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.005903, allocations: 0 / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.005926, allocations: 7.984 kB / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.005928, allocations: 2.281 kB / 0.8153 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.427e-05/0.005993, allocations: 143.2 kB / 0.8155 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.005993, allocations: 0 / 0.8155 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002256/0.006218, allocations: 8 kB / 0.8155 GB, free: 12.33 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.0003306/0.006549, allocations: 128.9 kB / 0.8156 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.006664, allocations: 39.55 kB / 0.8156 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006666, allocations: 0 / 0.8156 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.006675, allocations: 8.188 kB / 0.8156 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.006832, allocations: 6.781 kB / 0.8156 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.007073, allocations: 130.8 kB / 0.8158 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.007109, allocations: 51.36 kB / 0.8158 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.007138, allocations: 12.77 kB / 0.8158 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.007161, allocations: 15.84 kB / 0.8158 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of SimCode: time 8.62e-07/0.007162, allocations: 0 / 0.8158 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.002848/0.01001, allocations: 0.6425 MB / 0.8165 GB, free: 11.28 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.894549950025976]