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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 105 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.408/2.408, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 69.92 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2854, allocations: 153 MB / 1.027 GB, free: 2.125 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001644/0.2871, allocations: 0.5336 MB / 1.027 GB, free: 1.594 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003709/0.2875, allocations: 150.5 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.2875, allocations: 7.938 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.2876, allocations: 3.938 kB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.2878, allocations: 11.92 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.388e-05/0.2878, allocations: 23.92 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.2879, allocations: 27.91 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.2879, allocations: 0 / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.288, allocations: 11.94 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.2883, allocations: 325.8 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2883, allocations: 0 / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.2884, allocations: 23.98 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.2884, allocations: 7.938 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.2884, allocations: 15.88 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.993e-05/0.2885, allocations: 35.89 kB / 1.028 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2885, allocations: 0 / 1.028 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2885, allocations: 0 / 1.028 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2885, allocations: 0 / 1.028 GB, free: 0.9922 MB / 0.795 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.0003044/0.2888, allocations: 349.6 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2889, allocations: 12.03 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.2889, allocations: 4.844 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.289, allocations: 180.2 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.2891, allocations: 12.31 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2891, allocations: 4.312 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2892, allocations: 53.8 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2892, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2892, allocations: 4 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2892, allocations: 0 / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.2893, allocations: 15.98 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.2896, allocations: 276.8 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.568e-05/0.2897, allocations: 18.52 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.2897, allocations: 8.922 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.2897, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.2897, allocations: 34.56 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2897, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.2899, allocations: 37.69 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.2899, allocations: 55.53 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.29, allocations: 141.7 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.29, allocations: 25.7 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.2901, allocations: 92.05 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.2901, allocations: 11.92 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.2901, allocations: 21.72 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.2902, allocations: 318.8 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.2903, allocations: 12 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.2903, allocations: 15.98 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.2903, allocations: 20.8 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2904, allocations: 4 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001042/0.2905, allocations: 57.59 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2905, allocations: 4 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2905, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2905, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.958e-05/0.2905, allocations: 11.92 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2905, allocations: 0 / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.2906, allocations: 4 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2906, allocations: 11.94 kB / 1.03 GB, free: 14.99 MB / 0.8106 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 6.083e-05/0.2907, allocations: 110 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.2907, allocations: 3.906 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.2907, allocations: 15.53 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2907, allocations: 3.938 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2907, allocations: 0 / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2907, allocations: 3.984 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.291, allocations: 362.7 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.291, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.291, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.291, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.291, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.291, allocations: 7.922 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.291, allocations: 4 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.55e-05/0.2911, allocations: 65.03 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.2911, allocations: 81.17 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.2912, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.2912, allocations: 3.938 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.2912, allocations: 7.984 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2912, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.878e-05/0.2913, allocations: 102.5 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.979e-06/0.2913, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002037/0.2915, allocations: 19.94 kB / 1.03 GB, free: 14.11 MB / 0.8106 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.0002199/0.2917, allocations: 124 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.2918, allocations: 20 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2918, allocations: 4 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-06/0.2918, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.292, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.2922, allocations: 124.4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2924, allocations: 0.6846 MB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.2925, allocations: 12.06 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.2925, allocations: 11.44 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.2925, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of Templates: time 0.0025/0.295, allocations: 0.5387 MB / 1.032 GB, free: 12.54 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches