Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 189.7 kB / 22.1 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.1/3.1, allocations: 495.8 MB / 0.783 GB, free: 33.34 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1")
translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 62.61 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3005, allocations: 173.6 MB / 1.307 GB, free: 1.902 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001656/0.3022, allocations: 0.5556 MB / 1.307 GB, free: 1.348 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0004489/0.3026, allocations: 152.4 kB / 1.307 GB, free: 1.195 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.3027, allocations: 0 / 1.307 GB, free: 1.195 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.3027, allocations: 3.938 kB / 1.307 GB, free: 1.191 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.3029, allocations: 15.92 kB / 1.307 GB, free: 1.176 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 6.594e-05/0.3029, allocations: 19.91 kB / 1.307 GB, free: 1.156 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.303, allocations: 27.86 kB / 1.307 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.303, allocations: 8 kB / 1.307 GB, free: 1.121 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.3031, allocations: 11.94 kB / 1.307 GB, free: 1.109 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.3035, allocations: 335.2 kB / 1.308 GB, free: 0.8164 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3035, allocations: 4 kB / 1.308 GB, free: 0.8125 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.3035, allocations: 15.98 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.3036, allocations: 4 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.3036, allocations: 15.86 kB / 1.308 GB, free: 0.7773 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.3037, allocations: 39.77 kB / 1.308 GB, free: 0.7383 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3037, allocations: 4 kB / 1.308 GB, free: 0.7344 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.613e-06/0.3037, allocations: 0 / 1.308 GB, free: 0.7344 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.979e-06/0.3037, allocations: 0 / 1.308 GB, free: 0.7344 MB / 0.9981 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.0003495/0.3041, allocations: 278.1 kB / 1.308 GB, free: 444 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3041, allocations: 11.98 kB / 1.308 GB, free: 432 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.3041, allocations: 8.891 kB / 1.308 GB, free: 424 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3043, allocations: 122.3 kB / 1.308 GB, free: 276 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.3043, allocations: 4.375 kB / 1.308 GB, free: 272 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3043, allocations: 4.375 kB / 1.308 GB, free: 268 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3044, allocations: 49.8 kB / 1.308 GB, free: 212 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3044, allocations: 0 / 1.308 GB, free: 212 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.3044, allocations: 4 kB / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3044, allocations: 0 / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.3045, allocations: 16 kB / 1.308 GB, free: 192 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.3048, allocations: 255.9 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.3049, allocations: 14.58 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.3049, allocations: 8.922 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.3049, allocations: 0 / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3049, allocations: 30.56 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3049, allocations: 4 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.0001441/0.3051, allocations: 45.62 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3051, allocations: 51.41 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3053, allocations: 137.8 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3053, allocations: 25.7 kB / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.3053, allocations: 92.09 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.3053, allocations: 7.875 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.3054, allocations: 29.78 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001523/0.3055, allocations: 326.8 kB / 1.309 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.3056, allocations: 12 kB / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.3056, allocations: 7.984 kB / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.3056, allocations: 20.98 kB / 1.309 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3056, allocations: 0 / 1.309 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001116/0.3057, allocations: 65.62 kB / 1.309 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3058, allocations: 4 kB / 1.309 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3058, allocations: 0 / 1.309 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3058, allocations: 0 / 1.309 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.263e-05/0.3058, allocations: 8 kB / 1.309 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3058, allocations: 0 / 1.309 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.3058, allocations: 7.938 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.3058, allocations: 11.94 kB / 1.309 GB, free: 14.92 MB / 1.014 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 8.82e-05/0.3059, allocations: 105.8 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.306, allocations: 7.953 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.306, allocations: 7.469 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.306, allocations: 4 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.306, allocations: 3.984 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.306, allocations: 4 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.3063, allocations: 337.7 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3063, allocations: 0 / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.3063, allocations: 0 / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3063, allocations: 0 / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.3063, allocations: 0 / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3063, allocations: 3.938 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3063, allocations: 0 / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.823e-05/0.3064, allocations: 69.09 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.3064, allocations: 7.953 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3064, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.3064, allocations: 3.938 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.3065, allocations: 4.062 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3065, allocations: 4 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.915e-05/0.3066, allocations: 106.1 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3066, allocations: 32 / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001995/0.3068, allocations: 23.88 kB / 1.31 GB, free: 14.16 MB / 1.014 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.0002608/0.307, allocations: 118.6 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.546e-05/0.3071, allocations: 19.98 kB / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3071, allocations: 0 / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.3071, allocations: 11.94 kB / 1.31 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.3073, allocations: 6.5 kB / 1.31 GB, free: 14 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.3075, allocations: 120.8 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3078, allocations: 0.6807 MB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.883e-05/0.3078, allocations: 8.109 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.3079, allocations: 11.44 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.3079, allocations: 0 / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of Templates: time 0.002997/0.3109, allocations: 0.5499 MB / 1.312 GB, free: 12.59 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.746243558824062]