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.0009462/0.0009462, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0009696/0.0009696, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.9237/0.9237, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.809/1.809, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] 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.883e-06/1.883e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.027e-05, allocations: 2.281 kB / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001671/0.001702, allocations: 0.5362 MB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004239/0.002125, allocations: 156 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.00216, allocations: 0 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.00218, allocations: 3.938 kB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.002407, allocations: 11.88 kB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.854e-05/0.002486, allocations: 27.91 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.002554, allocations: 23.92 kB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.002607, allocations: 3.938 kB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.00265, allocations: 15.97 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.003021, allocations: 325.9 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.003045, allocations: 4 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.003115, allocations: 12 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.003133, allocations: 11.91 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.003154, allocations: 4 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.003285, allocations: 47.81 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003288, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.683e-06/0.003289, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.003295, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 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.0003166/0.003612, allocations: 274.1 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.003655, allocations: 16.03 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.003696, allocations: 0.9375 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.003798, allocations: 113.7 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.003811, allocations: 4.375 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.003823, allocations: 8.312 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.003949, allocations: 50.23 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.003957, allocations: 192 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.003969, allocations: 4.125 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.003974, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.00402, allocations: 16 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.004346, allocations: 220.6 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.004397, allocations: 30.45 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.004415, allocations: 8.844 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.004422, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.004451, allocations: 38.62 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/0.004452, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.004609, allocations: 37.66 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.004646, allocations: 55.34 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.004774, allocations: 144.3 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.004786, allocations: 25.7 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.004839, allocations: 104.2 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.004844, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.004885, allocations: 25.7 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.004977, allocations: 314.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.005002, allocations: 8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.005027, allocations: 11.98 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.005066, allocations: 20.8 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.00507, allocations: 3.938 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000115/0.005185, allocations: 69.58 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.005199, allocations: 4 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.005205, allocations: 0 / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.00522, allocations: 7.984 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-05/0.005244, allocations: 4.188 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.005249, allocations: 0 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.005279, allocations: 7.938 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.005288, allocations: 4 kB / 1.004 GB, free: 10.16 MB / 0.9636 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.405e-05/0.005362, allocations: 125.7 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.005387, allocations: 3.953 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.005413, allocations: 15.44 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.005416, allocations: 0 / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.005421, allocations: 0 / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005423, allocations: 4 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.005676, allocations: 310.3 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.005678, allocations: 0 / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.005684, allocations: 0 / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.005688, allocations: 4 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.005694, allocations: 3.938 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.005697, allocations: 0 / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005698, allocations: 0 / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.934e-05/0.005767, allocations: 69.02 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.005774, allocations: 0 / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.005788, allocations: 8.062 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.0058, allocations: 0 / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.005819, allocations: 0 / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.005821, allocations: 3.938 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.00588, allocations: 107.2 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.00588, allocations: 0 / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002245/0.006104, allocations: 8 kB / 1.004 GB, free: 9.441 MB / 0.9636 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.0002787/0.006383, allocations: 138.9 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.842e-05/0.006481, allocations: 23.86 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006483, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.564e-06/0.006491, allocations: 4 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.006645, allocations: 4 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.0069, allocations: 151.2 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.006952, allocations: 71.25 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.00698, allocations: 20.55 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of SimCode: time 7.71e-07/0.006981, allocations: 0 / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of Templates: time 0.002436/0.009417, allocations: 0.9721 MB / 1.006 GB, free: 8.016 MB / 0.9636 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: 6.877685131505132]