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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001405/0.001405, allocations: 108 kB / 15.61 MB, free: 152 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.001646/0.001646, allocations: 197 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 60.42 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3351, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001839/0.337, allocations: 0.52 MB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004141/0.3374, allocations: 148.1 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.3375, allocations: 3.938 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.3375, allocations: 3.938 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.3377, allocations: 11.94 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.003e-05/0.3378, allocations: 23.91 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.3379, allocations: 19.98 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.3379, allocations: 4 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.589e-05/0.338, allocations: 23.84 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.3384, allocations: 325.1 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.3384, allocations: 4 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.3385, allocations: 16 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.3385, allocations: 7.922 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.3385, allocations: 19.86 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3386, allocations: 31.91 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3387, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3387, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.3387, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 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.0003537/0.339, allocations: 355.6 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3391, allocations: 12.03 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.3391, allocations: 0.9375 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3392, allocations: 172.2 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3393, allocations: 4.375 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3393, allocations: 8.312 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3394, allocations: 53.8 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3394, allocations: 3.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3394, allocations: 0 / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3395, allocations: 0 / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.3395, allocations: 15.98 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3399, allocations: 280.8 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.3399, allocations: 18.58 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.34, allocations: 11.02 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-06/0.34, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.34, allocations: 34.5 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.34, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.3402, allocations: 37.77 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3402, allocations: 55.41 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3403, allocations: 137.7 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3404, allocations: 25.7 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.3404, allocations: 104 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.3405, allocations: 3.938 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.3405, allocations: 29.61 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3406, allocations: 322.9 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.3407, allocations: 8 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.3407, allocations: 15.98 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.3407, allocations: 20.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3407, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000108/0.3408, allocations: 61.81 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3409, allocations: 4 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3409, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3409, allocations: 7.984 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.074e-05/0.3409, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3409, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.341, allocations: 11.91 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.341, allocations: 3.938 kB / 1.071 GB, free: 7.27 MB / 0.8262 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 7.994e-05/0.3411, allocations: 121.7 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3411, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.3411, allocations: 11.52 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3411, allocations: 3.938 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3411, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3411, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.3414, allocations: 362.7 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3414, allocations: 3.984 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-06/0.3414, allocations: 0 / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3414, allocations: 0 / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3414, allocations: 0 / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3415, allocations: 7.938 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3415, allocations: 0 / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.476e-05/0.3415, allocations: 65.02 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.3416, allocations: 77.11 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3416, allocations: 7.984 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.3416, allocations: 3.938 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.3416, allocations: 4 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.3416, allocations: 0 / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.97e-05/0.3417, allocations: 96.81 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3417, allocations: 4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001983/0.3419, allocations: 12 kB / 1.072 GB, free: 6.395 MB / 0.8262 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.0002511/0.3422, allocations: 139.2 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.695e-05/0.3423, allocations: 27.92 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3423, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/0.3423, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.3425, allocations: 11.91 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.3427, allocations: 105 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.3429, allocations: 0.6846 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.3429, allocations: 4 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.343, allocations: 11.44 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.343, allocations: 0 / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of Templates: time 0.002594/0.3456, allocations: 0.546 MB / 1.073 GB, free: 4.824 MB / 0.8262 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