Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_10_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.001124/0.001125, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001144/0.001144, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 437.1 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 56.97 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2802, allocations: 151.6 MB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001699/0.282, allocations: 0.5288 MB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.2824, allocations: 156 kB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.2824, allocations: 0 / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.2824, allocations: 4 kB / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.2826, allocations: 7.875 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.966e-05/0.2827, allocations: 31.91 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.2828, allocations: 23.92 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.2828, allocations: 7.984 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.2829, allocations: 7.938 kB / 1.02 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.2833, allocations: 325.9 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2833, allocations: 0 / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.2834, allocations: 20 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2834, allocations: 3.938 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.2834, allocations: 23.84 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.576e-05/0.2835, allocations: 35.91 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2835, allocations: 7.922 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2836, allocations: 0 / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2836, allocations: 0 / 1.02 GB, free: 8.77 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.0003181/0.2839, allocations: 347.4 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2839, allocations: 8.031 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.284, allocations: 8.844 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2841, allocations: 172.2 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.2841, allocations: 4.375 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.2841, allocations: 384 / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2843, allocations: 53.81 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2843, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2843, allocations: 4 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2843, allocations: 3.938 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.2843, allocations: 23.92 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2847, allocations: 268.9 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.2847, allocations: 18.58 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.2847, allocations: 8.859 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.2848, allocations: 4 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2848, allocations: 30.56 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2848, allocations: 0 / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.2849, allocations: 41.61 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.285, allocations: 51.41 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2851, allocations: 139.1 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2851, allocations: 29.83 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.2852, allocations: 96.03 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-06/0.2852, allocations: 7.938 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.2852, allocations: 25.7 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2854, allocations: 322.7 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.2854, allocations: 11.98 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.2855, allocations: 12 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.2855, allocations: 20.8 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2855, allocations: 4 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000117/0.2857, allocations: 65.7 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2857, allocations: 4 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2857, allocations: 4 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2857, allocations: 0 / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/0.2857, allocations: 0 / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2857, allocations: 0 / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.2858, allocations: 8 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2858, allocations: 3.938 kB / 1.022 GB, free: 6.781 MB / 0.795 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 9.158e-05/0.2859, allocations: 109.8 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2859, allocations: 11.89 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.2859, allocations: 15.52 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2859, allocations: 3.938 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2859, allocations: 0 / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2859, allocations: 0 / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.2862, allocations: 358.7 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2862, allocations: 3.938 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-06/0.2863, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2863, allocations: 4.031 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.2863, allocations: 4 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2863, allocations: 3.938 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2863, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.119e-05/0.2864, allocations: 64.98 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.2864, allocations: 81.09 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2864, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.2864, allocations: 7.969 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.2865, allocations: 4 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.2865, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.2865, allocations: 105.5 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2865, allocations: 0 / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002008/0.2868, allocations: 11.98 kB / 1.022 GB, free: 5.902 MB / 0.795 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.0002266/0.287, allocations: 129.2 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.363e-05/0.2871, allocations: 31.98 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2871, allocations: 3.938 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.2871, allocations: 0 / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.2872, allocations: 4 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.2875, allocations: 121 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.2877, allocations: 0.6846 MB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.2878, allocations: 4 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.2878, allocations: 7.438 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2878, allocations: 0 / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of Templates: time 0.002461/0.2903, allocations: 0.5484 MB / 1.024 GB, free: 4.324 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches