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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009317/0.009317, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.002148/0.002148, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.485/2.485, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.89 kB / 1.054 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8958/0.8971, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001729/0.8989, allocations: 0.5294 MB / 1.208 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004459/0.8994, allocations: 152.1 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.8994, allocations: 0 / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.8994, allocations: 3.938 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.8997, allocations: 7.938 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.161e-05/0.8997, allocations: 23.91 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.8998, allocations: 27.86 kB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.8999, allocations: 8 kB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.8999, allocations: 15.91 kB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.9003, allocations: 318.5 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.9003, allocations: 4 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.229e-05/0.9004, allocations: 19.98 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.9004, allocations: 3.938 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.9004, allocations: 15.92 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.9005, allocations: 31.84 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9005, allocations: 4 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.335e-06/0.9006, allocations: 4 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9006, allocations: 0 / 1.209 GB, free: 12.51 MB / 0.9356 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.0003701/0.9009, allocations: 351.2 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.901, allocations: 8.031 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.901, allocations: 4.938 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.9012, allocations: 178 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.9012, allocations: 4.375 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.9012, allocations: 4.375 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.9013, allocations: 49.8 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.9014, allocations: 4 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.9014, allocations: 3.984 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.9014, allocations: 0 / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/0.9015, allocations: 19.98 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.9019, allocations: 272.8 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.9019, allocations: 22.52 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.902, allocations: 8.844 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.902, allocations: 4 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.902, allocations: 34.62 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.902, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.9022, allocations: 37.64 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.9023, allocations: 55.41 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.9024, allocations: 142.6 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.9024, allocations: 29.7 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.9025, allocations: 92.16 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.9025, allocations: 8 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.9026, allocations: 29.61 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.9027, allocations: 318.8 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.9028, allocations: 8 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.9028, allocations: 11.98 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.907e-05/0.9028, allocations: 16.86 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9028, allocations: 0 / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000114/0.903, allocations: 65.56 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.903, allocations: 12 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.903, allocations: 192 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.903, allocations: 3.984 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.724e-05/0.9031, allocations: 4 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.9031, allocations: 4 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.9031, allocations: 7.844 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.9031, allocations: 11.94 kB / 1.211 GB, free: 10.5 MB / 0.9356 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.521e-05/0.9032, allocations: 105.8 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.9033, allocations: 4 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.9033, allocations: 15.52 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.9033, allocations: 0 / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9033, allocations: 0 / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9033, allocations: 0 / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.9036, allocations: 358.7 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9036, allocations: 4 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.9036, allocations: 3.984 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.9036, allocations: 0 / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.9036, allocations: 0 / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.9036, allocations: 7.969 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9037, allocations: 0 / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.883e-05/0.9037, allocations: 61.05 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.9038, allocations: 81.02 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.9038, allocations: 7.984 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.9038, allocations: 3.938 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.9038, allocations: 3.938 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.9038, allocations: 7.969 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.384e-05/0.9039, allocations: 106.2 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9039, allocations: 0 / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001951/0.9041, allocations: 8 kB / 1.211 GB, free: 9.629 MB / 0.9356 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.0002722/0.9044, allocations: 137.2 kB / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.772e-05/0.9045, allocations: 20 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9045, allocations: 0 / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.9045, allocations: 7.984 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.9047, allocations: 4 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.9049, allocations: 112.9 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.9051, allocations: 0.6846 MB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.9052, allocations: 12.12 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.9052, allocations: 11.5 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9052, allocations: 0 / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of Templates: time 0.002706/0.9079, allocations: 0.5362 MB / 1.213 GB, free: 8.062 MB / 0.9356 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches