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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009883/0.0009883, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003453, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.6991, allocations: 142.4 MB / 0.9557 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005814/0.6997, allocations: 259.8 kB / 0.9559 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.7001, allocations: 150.6 kB / 0.9561 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.7001, allocations: 1.062 kB / 0.9561 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.7001, allocations: 0 / 0.9561 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.7003, allocations: 10.12 kB / 0.9561 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.222e-05/0.7003, allocations: 18.88 kB / 0.9561 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.7004, allocations: 26.98 kB / 0.9561 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.7005, allocations: 7.5 kB / 0.9561 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.224e-05/0.7005, allocations: 12.62 kB / 0.9562 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.7008, allocations: 319.3 kB / 0.9565 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.7008, allocations: 2.312 kB / 0.9565 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.7009, allocations: 20.02 kB / 0.9565 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.7009, allocations: 2.812 kB / 0.9565 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.701, allocations: 45.22 kB / 0.9565 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.738e-05/0.701, allocations: 18.56 kB / 0.9565 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.701, allocations: 1.156 kB / 0.9565 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7011, allocations: 0 / 0.9565 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.7011, allocations: 0 / 0.9565 GB, free: 7.188 MB / 0.7169 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.0002215/0.7013, allocations: 350.1 kB / 0.9569 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.7013, allocations: 9.188 kB / 0.9569 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.7014, allocations: 7.031 kB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.258e-05/0.7014, allocations: 176 kB / 0.9571 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.7015, allocations: 1.656 kB / 0.9571 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7015, allocations: 9.672 kB / 0.9571 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.7016, allocations: 52.72 kB / 0.9571 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7016, allocations: 0 / 0.9571 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.7016, allocations: 0 / 0.9571 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7016, allocations: 9.578 kB / 0.9571 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.7017, allocations: 17.39 kB / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.702, allocations: 275.4 kB / 0.9574 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.09e-05/0.702, allocations: 24.22 kB / 0.9574 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.702, allocations: 7.234 kB / 0.9574 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.702, allocations: 0 / 0.9574 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.7021, allocations: 35.75 kB / 0.9575 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7021, allocations: 0 / 0.9575 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.7022, allocations: 36.67 kB / 0.9575 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.7022, allocations: 55.34 kB / 0.9576 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.7023, allocations: 141 kB / 0.9577 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.7023, allocations: 25.7 kB / 0.9577 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.7024, allocations: 95.53 kB / 0.9578 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-06/0.7024, allocations: 1.188 kB / 0.9578 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.7024, allocations: 16.62 kB / 0.9578 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.7024, allocations: 323.8 kB / 0.9581 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.7025, allocations: 10.09 kB / 0.9582 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.7025, allocations: 10.28 kB / 0.9582 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.7025, allocations: 20.38 kB / 0.9582 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7025, allocations: 0 / 0.9582 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.942e-05/0.7026, allocations: 68 kB / 0.9582 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.7026, allocations: 4.125 kB / 0.9582 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7027, allocations: 1.375 kB / 0.9583 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.7027, allocations: 0 / 0.9583 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.957e-05/0.7027, allocations: 5.406 kB / 0.9583 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7027, allocations: 1.438 kB / 0.9583 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.7027, allocations: 9.5 kB / 0.9583 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.7028, allocations: 10.45 kB / 0.9583 GB, free: 5.359 MB / 0.7169 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 4.475e-05/0.7028, allocations: 110.8 kB / 0.9584 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.7028, allocations: 6.219 kB / 0.9584 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.7029, allocations: 9.5 kB / 0.9584 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.7029, allocations: 5.188 kB / 0.9584 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7029, allocations: 0 / 0.9584 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.7029, allocations: 4 kB / 0.9584 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.703, allocations: 363.7 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7031, allocations: 4 kB / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.7031, allocations: 0 / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.7031, allocations: 1.438 kB / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-06/0.7031, allocations: 0 / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7031, allocations: 3.938 kB / 0.9588 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7031, allocations: 1.438 kB / 0.9588 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.505e-05/0.7031, allocations: 68.84 kB / 0.9588 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.7032, allocations: 86.16 kB / 0.9589 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.7032, allocations: 1.188 kB / 0.9589 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.7032, allocations: 3.938 kB / 0.9589 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.7032, allocations: 6.125 kB / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.7032, allocations: 0 / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.7033, allocations: 104.7 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7033, allocations: 4.031 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002039/0.7035, allocations: 13.64 kB / 0.959 GB, free: 4.527 MB / 0.7169 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.0002161/0.7037, allocations: 115.8 kB / 0.9591 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.7038, allocations: 21.98 kB / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7038, allocations: 0 / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.7038, allocations: 6.688 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.704, allocations: 13.27 kB / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.7042, allocations: 153.9 kB / 0.9593 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.444e-05/0.7043, allocations: 0.6824 MB / 0.96 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.7043, allocations: 12.84 kB / 0.96 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7043, allocations: 5.75 kB / 0.96 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.002107/0.7064, allocations: 0.9401 MB / 0.9609 GB, free: 3.062 MB / 0.7169 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