Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_9_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.00158/0.00158, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001572/0.001572, allocations: 187 kB / 17.34 MB, free: 5.742 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.106, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002842/1.109, allocations: 0.5212 MB / 1.089 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005372/1.11, allocations: 156.7 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/1.11, allocations: 0 / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/1.11, allocations: 3.938 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/1.11, allocations: 7.734 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/1.11, allocations: 23.05 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.608e-05/1.11, allocations: 34.05 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.802e-05/1.111, allocations: 8.078 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/1.111, allocations: 14 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/1.111, allocations: 310.8 kB / 1.09 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/1.111, allocations: 2.219 kB / 1.09 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/1.111, allocations: 14.11 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/1.111, allocations: 3.391 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/1.111, allocations: 19.92 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/1.111, allocations: 35.98 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.111, allocations: 0 / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.866e-06/1.111, allocations: 0 / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.111, allocations: 5.031 kB / 1.09 GB, free: 4.898 MB / 0.8575 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.0003114/1.112, allocations: 349.5 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.112, allocations: 13.83 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/1.112, allocations: 7.922 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/1.112, allocations: 174.8 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.112, allocations: 1.281 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/1.112, allocations: 6.656 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/1.112, allocations: 50.8 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.112, allocations: 0 / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.112, allocations: 0.9375 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.112, allocations: 5.734 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/1.112, allocations: 19.81 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/1.113, allocations: 277 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/1.113, allocations: 20.52 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/1.113, allocations: 7.578 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/1.113, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/1.113, allocations: 36.28 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/1.113, allocations: 0 / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001562/1.113, allocations: 37.44 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/1.113, allocations: 53.16 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.113, allocations: 144.7 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/1.113, allocations: 26.64 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/1.113, allocations: 92.86 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-06/1.113, allocations: 1.094 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/1.113, allocations: 29.72 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/1.113, allocations: 321.7 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/1.113, allocations: 12.28 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/1.113, allocations: 7.281 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/1.113, allocations: 18.47 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.113, allocations: 0 / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001197/1.113, allocations: 64.31 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.113, allocations: 5.281 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.113, allocations: 3.938 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.114, allocations: 9.625 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.602e-05/1.114, allocations: 1.938 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.114, allocations: 1.094 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/1.114, allocations: 9.75 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/1.114, allocations: 6.812 kB / 1.091 GB, free: 3.137 MB / 0.8575 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.549e-05/1.114, allocations: 116 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/1.114, allocations: 7.625 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/1.114, allocations: 5.812 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.114, allocations: 1.547 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.114, allocations: 4 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.114, allocations: 0.7969 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/1.114, allocations: 369.5 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.114, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-06/1.114, allocations: 0.9062 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.114, allocations: 1.5 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/1.114, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/1.114, allocations: 4.625 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.114, allocations: 4.031 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.77e-05/1.114, allocations: 63.95 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/1.114, allocations: 78.7 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/1.114, allocations: 5.797 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.461e-05/1.114, allocations: 3.938 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/1.114, allocations: 1.609 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/1.114, allocations: 1.25 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.926e-05/1.114, allocations: 110.4 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.114, allocations: 3.938 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002145/1.115, allocations: 14.11 kB / 1.092 GB, free: 2.328 MB / 0.8575 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.000267/1.115, allocations: 122.5 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001051/1.115, allocations: 20.7 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/1.115, allocations: 4 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/1.115, allocations: 1.781 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/1.115, allocations: 6.875 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/1.115, allocations: 141.4 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/1.115, allocations: 0.6855 MB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/1.115, allocations: 16.17 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/1.116, allocations: 0 / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of Templates: time 0.003245/1.119, allocations: 0.9589 MB / 1.094 GB, free: 1.266 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches