Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_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.001885/0.001885, allocations: 119.6 kB / 16.81 MB, free: 5.758 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.00214/0.00214, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.447/1.447, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 62.75 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3514, allocations: 168.7 MB / 1.262 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00182/0.3532, allocations: 0.5347 MB / 1.263 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004535/0.3537, allocations: 152.4 kB / 1.263 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.3537, allocations: 0 / 1.263 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.3537, allocations: 3.938 kB / 1.263 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3539, allocations: 3.938 kB / 1.263 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.273e-05/0.354, allocations: 35.91 kB / 1.263 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.3541, allocations: 27.86 kB / 1.263 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.3541, allocations: 4 kB / 1.263 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.3542, allocations: 15.91 kB / 1.263 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.3546, allocations: 326.7 kB / 1.263 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3547, allocations: 0 / 1.263 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.3547, allocations: 19.98 kB / 1.263 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.3547, allocations: 3.938 kB / 1.263 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.3548, allocations: 15.92 kB / 1.263 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.3549, allocations: 39.78 kB / 1.263 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3549, allocations: 0 / 1.263 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.965e-06/0.3549, allocations: 0 / 1.263 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3549, allocations: 0 / 1.263 GB, free: 11.87 MB / 0.9825 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.0004689/0.3554, allocations: 359.2 kB / 1.263 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3554, allocations: 8.031 kB / 1.264 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3555, allocations: 8.891 kB / 1.264 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3557, allocations: 176.2 kB / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3557, allocations: 4.375 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3557, allocations: 4.359 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3559, allocations: 57.81 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3559, allocations: 4 kB / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3559, allocations: 0 / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3559, allocations: 0 / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.356, allocations: 19.98 kB / 1.264 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.3564, allocations: 272.8 kB / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.3564, allocations: 26.5 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.3565, allocations: 12.86 kB / 1.264 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.3565, allocations: 0 / 1.264 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3565, allocations: 30.56 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.3565, allocations: 0 / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.3567, allocations: 33.77 kB / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3567, allocations: 55.34 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3569, allocations: 141.7 kB / 1.264 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3569, allocations: 29.83 kB / 1.264 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.3569, allocations: 96.08 kB / 1.264 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.3569, allocations: 4 kB / 1.264 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.357, allocations: 29.66 kB / 1.264 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3571, allocations: 314.8 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.3572, allocations: 15.98 kB / 1.265 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.3572, allocations: 12 kB / 1.265 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.3572, allocations: 12.86 kB / 1.265 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3572, allocations: 4 kB / 1.265 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000111/0.3573, allocations: 61.62 kB / 1.265 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3574, allocations: 7.984 kB / 1.265 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3574, allocations: 0 / 1.265 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3574, allocations: 4 kB / 1.265 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.253e-05/0.3574, allocations: 4 kB / 1.265 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3574, allocations: 0 / 1.265 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.3574, allocations: 7.891 kB / 1.265 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3574, allocations: 4 kB / 1.265 GB, free: 9.863 MB / 0.9825 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 0.0001033/0.3576, allocations: 117.7 kB / 1.265 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3576, allocations: 7.953 kB / 1.265 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3576, allocations: 15.52 kB / 1.265 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3576, allocations: 0 / 1.265 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.3576, allocations: 0 / 1.265 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.3577, allocations: 81.23 kB / 1.265 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3577, allocations: 7.938 kB / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/0.3577, allocations: 0 / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.3577, allocations: 4 kB / 1.265 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.48e-05/0.3578, allocations: 112.9 kB / 1.265 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001454/0.358, allocations: 210.8 kB / 1.265 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.755e-05/0.358, allocations: 3.938 kB / 1.265 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.796e-05/0.3581, allocations: 109.6 kB / 1.266 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of Backend: time 3.61e-07/0.3581, allocations: 0 / 1.266 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.3586, allocations: 125.3 kB / 1.266 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of SimCode: time 0.000523/0.3592, allocations: 0.5719 MB / 1.266 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.003542/0.3627, allocations: 0.7358 MB / 1.267 GB, free: 7.68 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches