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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 84.05 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 165.1 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.913/2.913, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 1 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.882e-05, allocations: 6.281 kB / 1 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001765/0.001794, allocations: 0.5324 MB / 1.001 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0005183/0.002313, allocations: 158 kB / 1.001 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.00235, allocations: 0 / 1.001 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.002366, allocations: 3.938 kB / 1.001 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.002589, allocations: 15.86 kB / 1.001 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 9.164e-05/0.002681, allocations: 27.91 kB / 1.001 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.002742, allocations: 19.92 kB / 1.001 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.891e-05/0.002811, allocations: 12 kB / 1.001 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.002858, allocations: 15.92 kB / 1.001 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.003319, allocations: 319.4 kB / 1.001 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.003337, allocations: 0 / 1.001 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.97e-05/0.003407, allocations: 11.94 kB / 1.001 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.003431, allocations: 15.92 kB / 1.001 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.003456, allocations: 15.92 kB / 1.001 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.003586, allocations: 35.83 kB / 1.001 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003588, allocations: 0 / 1.001 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003589, allocations: 0 / 1.001 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003593, allocations: 4 kB / 1.001 GB, free: 5.113 MB / 0.9044 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.0003949/0.003988, allocations: 270.2 kB / 1.001 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.004025, allocations: 8.031 kB / 1.001 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.004065, allocations: 4.938 kB / 1.001 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.004204, allocations: 121.7 kB / 1.002 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.004218, allocations: 384 / 1.002 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.004238, allocations: 8.312 kB / 1.002 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.004375, allocations: 54.25 kB / 1.002 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.004385, allocations: 192 / 1.002 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.004397, allocations: 4.125 kB / 1.002 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004401, allocations: 4 kB / 1.002 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.004453, allocations: 15.98 kB / 1.002 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.004855, allocations: 220.6 kB / 1.002 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/0.00491, allocations: 26.45 kB / 1.002 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.004931, allocations: 12.92 kB / 1.002 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.004938, allocations: 0 / 1.002 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.004967, allocations: 30.56 kB / 1.002 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 3.186e-06/0.00497, allocations: 4 kB / 1.002 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.005132, allocations: 41.64 kB / 1.002 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.005177, allocations: 51.41 kB / 1.002 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.005326, allocations: 137.8 kB / 1.002 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.005354, allocations: 25.7 kB / 1.002 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.005423, allocations: 96.05 kB / 1.002 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.00543, allocations: 7.938 kB / 1.002 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.005481, allocations: 29.64 kB / 1.002 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.005639, allocations: 318.8 kB / 1.003 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.005669, allocations: 8 kB / 1.003 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.005708, allocations: 16.11 kB / 1.003 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.00575, allocations: 20.86 kB / 1.003 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.005753, allocations: 3.938 kB / 1.003 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001373/0.005891, allocations: 57.64 kB / 1.003 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.00591, allocations: 10.34 kB / 1.003 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.005916, allocations: 0 / 1.003 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.005932, allocations: 0 / 1.003 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.523e-05/0.005957, allocations: 11.88 kB / 1.003 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.005962, allocations: 0 / 1.003 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.005991, allocations: 7.984 kB / 1.003 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.005998, allocations: 0 / 1.003 GB, free: 3.348 MB / 0.9044 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.0001021/0.0061, allocations: 125.7 kB / 1.003 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.006132, allocations: 7.953 kB / 1.003 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.006155, allocations: 7.469 kB / 1.003 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006157, allocations: 0 / 1.003 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.006162, allocations: 192 / 1.003 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.00617, allocations: 4 kB / 1.003 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.006467, allocations: 314.3 kB / 1.003 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006468, allocations: 3.938 kB / 1.003 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.006473, allocations: 0 / 1.003 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006475, allocations: 0 / 1.003 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.006481, allocations: 4.031 kB / 1.003 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006482, allocations: 0 / 1.003 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006483, allocations: 0 / 1.003 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.603e-05/0.006579, allocations: 65.03 kB / 1.003 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.006587, allocations: 7.984 kB / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.006602, allocations: 0 / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.006615, allocations: 0 / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.006645, allocations: 7.984 kB / 1.003 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.006647, allocations: 0 / 1.003 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.31e-05/0.00673, allocations: 106.5 kB / 1.003 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7e-08/0.00673, allocations: 0 / 1.003 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000211/0.006941, allocations: 15.97 kB / 1.003 GB, free: 2.625 MB / 0.9044 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.0003287/0.00727, allocations: 131.6 kB / 1.004 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.007381, allocations: 31.8 kB / 1.004 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.007384, allocations: 0 / 1.004 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.007396, allocations: 4 kB / 1.004 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.007548, allocations: 9.953 kB / 1.004 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.007849, allocations: 112.8 kB / 1.004 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.709e-05/0.007926, allocations: 63.34 kB / 1.004 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.007954, allocations: 8.125 kB / 1.004 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.007979, allocations: 12.5 kB / 1.004 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of SimCode: time 1.102e-06/0.00798, allocations: 0 / 1.004 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of Templates: time 0.003378/0.01136, allocations: 0.5743 MB / 1.004 GB, free: 1.637 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.072086341679096]