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.001163/0.001163, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0011/0.0011, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.413/2.413, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 0.812 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7779, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001632/0.7795, allocations: 0.5928 MB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003761/0.7799, allocations: 150.6 kB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.78, allocations: 0 / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.78, allocations: 0 / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.7802, allocations: 6.688 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.107e-05/0.7803, allocations: 24.22 kB / 0.9498 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.803e-05/0.7803, allocations: 26.86 kB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.7804, allocations: 2.75 kB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.7804, allocations: 9.438 kB / 0.9499 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.7808, allocations: 317.6 kB / 0.9502 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.7808, allocations: 1.938 kB / 0.9502 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.7809, allocations: 25.23 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.7809, allocations: 6.25 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.7809, allocations: 14.8 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.45e-05/0.781, allocations: 40.08 kB / 0.9503 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.781, allocations: 3.938 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.781, allocations: 1.188 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7811, allocations: 0 / 0.9503 GB, free: 8.266 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.0002856/0.7813, allocations: 350.6 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7814, allocations: 9.625 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.7814, allocations: 11.22 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.7815, allocations: 174.8 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.7815, allocations: 1.625 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.7816, allocations: 3.031 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.7817, allocations: 55.58 kB / 0.9508 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.7817, allocations: 0 / 0.9508 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7817, allocations: 4 kB / 0.9508 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7817, allocations: 1.344 kB / 0.9508 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.7818, allocations: 18.08 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.7821, allocations: 270.8 kB / 0.9511 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.307e-05/0.7821, allocations: 20.86 kB / 0.9511 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.7821, allocations: 6.297 kB / 0.9511 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.7821, allocations: 0 / 0.9511 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.7822, allocations: 35.88 kB / 0.9512 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.7822, allocations: 0 / 0.9512 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.7823, allocations: 45.12 kB / 0.9512 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.7823, allocations: 59.34 kB / 0.9513 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.7824, allocations: 140.3 kB / 0.9514 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.7825, allocations: 25.7 kB / 0.9514 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.7825, allocations: 90.86 kB / 0.9515 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.7825, allocations: 5.156 kB / 0.9515 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.7825, allocations: 29.83 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.7826, allocations: 320.2 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.7826, allocations: 14.19 kB / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.7827, allocations: 13.67 kB / 0.9519 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.7827, allocations: 13.17 kB / 0.9519 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7827, allocations: 0 / 0.9519 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.675e-05/0.7828, allocations: 62.88 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.7828, allocations: 10.16 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7828, allocations: 0 / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7828, allocations: 0 / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.069e-05/0.7829, allocations: 7.016 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7829, allocations: 0 / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.7829, allocations: 13.75 kB / 0.952 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.7829, allocations: 9.75 kB / 0.952 GB, free: 6.438 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.72e-05/0.783, allocations: 111.2 kB / 0.9521 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.783, allocations: 7.75 kB / 0.9521 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.783, allocations: 8.906 kB / 0.9521 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-07/0.783, allocations: 0 / 0.9521 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.783, allocations: 4 kB / 0.9521 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.783, allocations: 1.219 kB / 0.9521 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.7832, allocations: 366.6 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7832, allocations: 0 / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.7832, allocations: 0 / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.7833, allocations: 1.281 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.7833, allocations: 0 / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7833, allocations: 3.938 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7833, allocations: 5.391 kB / 0.9525 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.877e-05/0.7833, allocations: 60.64 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.7834, allocations: 82.08 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.7834, allocations: 1.125 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.26e-05/0.7834, allocations: 7.875 kB / 0.9526 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.7834, allocations: 5.422 kB / 0.9526 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.7834, allocations: 1.5 kB / 0.9526 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.7835, allocations: 109.1 kB / 0.9527 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7835, allocations: 0 / 0.9527 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002102/0.7837, allocations: 9.875 kB / 0.9528 GB, free: 5.613 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.0002147/0.7839, allocations: 131.2 kB / 0.9529 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.784, allocations: 18.31 kB / 0.9529 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.784, allocations: 4 kB / 0.9529 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.784, allocations: 1.25 kB / 0.9529 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.7842, allocations: 2.562 kB / 0.9529 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001777/0.7843, allocations: 129.5 kB / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.737e-05/0.7844, allocations: 0.6912 MB / 0.9537 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.7845, allocations: 8.312 kB / 0.9537 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.7845, allocations: 10.25 kB / 0.9537 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7845, allocations: 0 / 0.9537 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of Templates: time 0.002345/0.7868, allocations: 0.5314 MB / 0.9542 GB, free: 4.363 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches