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.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.001301/0.001301, allocations: 78.02 kB / 19.76 MB, free: 2.027 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.001308/0.001308, allocations: 159.2 kB / 23.01 MB, free: 4.949 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.399/1.399, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.739/2.739, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.89 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7693, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001433/0.7707, allocations: 0.5394 MB / 1.154 GB, free: 33.05 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003535/0.7711, allocations: 151.5 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.7711, allocations: 2.812 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.7711, allocations: 3.938 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.7713, allocations: 14.28 kB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.441e-05/0.7713, allocations: 26.41 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.256e-05/0.7714, allocations: 25.86 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.7714, allocations: 6.406 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.7714, allocations: 17.08 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.7717, allocations: 333.4 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.7717, allocations: 2.406 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.7718, allocations: 12.06 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.7718, allocations: 9.891 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.7718, allocations: 14.77 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.412e-05/0.7719, allocations: 37.69 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7719, allocations: 0 / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7719, allocations: 0 / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.7719, allocations: 0 / 1.155 GB, free: 32.73 MB / 1.076 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.000226/0.7721, allocations: 275.4 kB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.7722, allocations: 12.3 kB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.7722, allocations: 7.547 kB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.434e-05/0.7722, allocations: 121.3 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.7723, allocations: 7.031 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.7723, allocations: 10.55 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.7724, allocations: 49.03 kB / 1.156 GB, free: 32.26 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.7724, allocations: 0 / 1.156 GB, free: 32.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.7724, allocations: 6.594 kB / 1.156 GB, free: 32.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.7724, allocations: 0 / 1.156 GB, free: 32.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.068e-05/0.7724, allocations: 14.84 kB / 1.156 GB, free: 32.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.7726, allocations: 226.8 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.7727, allocations: 21.19 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.156e-05/0.7727, allocations: 7.734 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.7727, allocations: 0 / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.7727, allocations: 34.56 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.7727, allocations: 0 / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.7728, allocations: 45.06 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.536e-05/0.7728, allocations: 51.41 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.7729, allocations: 143.3 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-06/0.7729, allocations: 25.7 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.773, allocations: 100.7 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-06/0.773, allocations: 4 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.773, allocations: 26 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.24e-05/0.773, allocations: 318.2 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.773, allocations: 12.59 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.7731, allocations: 12.97 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.7731, allocations: 13.55 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.7731, allocations: 0 / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.054e-05/0.7732, allocations: 64.5 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.7732, allocations: 5.625 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.7732, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7732, allocations: 7.031 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.88e-05/0.7732, allocations: 7.469 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.7732, allocations: 0 / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.7733, allocations: 10.52 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.7733, allocations: 2.938 kB / 1.157 GB, free: 31.2 MB / 1.076 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 3.533e-05/0.7733, allocations: 112.6 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.7733, allocations: 0 / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.7733, allocations: 17.34 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.7733, allocations: 0 / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.7733, allocations: 2.75 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.7733, allocations: 4 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.7735, allocations: 312 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7735, allocations: 6.156 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.7735, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.7735, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-06/0.7735, allocations: 3.938 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7735, allocations: 0 / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7735, allocations: 0 / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.363e-05/0.7735, allocations: 67.44 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.7736, allocations: 11.22 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.7736, allocations: 7.125 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.7736, allocations: 0 / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.7736, allocations: 3.938 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.7736, allocations: 0 / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.7736, allocations: 106.2 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.7736, allocations: 0 / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001983/0.7738, allocations: 8.75 kB / 1.157 GB, free: 30.55 MB / 1.076 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.000191/0.774, allocations: 124 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.057e-05/0.7741, allocations: 20.67 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7741, allocations: 0 / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-06/0.7741, allocations: 2.562 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.7742, allocations: 10.44 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001527/0.7744, allocations: 112.6 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.828e-05/0.7744, allocations: 69.7 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.7744, allocations: 13.28 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.7745, allocations: 14.66 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.7745, allocations: 0 / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of Templates: time 0.002553/0.777, allocations: 0.5443 MB / 1.158 GB, free: 30.13 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.171932336990722]