Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001882/0.001882, allocations: 77.55 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.002273/0.002273, allocations: 156.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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.617/2.617, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_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.002107/0.002107, allocations: 67.89 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.275, allocations: 169.9 MB / 1.117 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001612/0.2767, allocations: 0.5323 MB / 1.118 GB, free: 2.098 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000412/0.2771, allocations: 156 kB / 1.118 GB, free: 1.941 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.2771, allocations: 0 / 1.118 GB, free: 1.941 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.2771, allocations: 3.938 kB / 1.118 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2773, allocations: 11.92 kB / 1.118 GB, free: 1.926 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.346e-05/0.2773, allocations: 23.92 kB / 1.118 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.705e-05/0.2774, allocations: 19.97 kB / 1.118 GB, free: 1.883 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.2775, allocations: 7.938 kB / 1.118 GB, free: 1.875 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.2775, allocations: 11.94 kB / 1.118 GB, free: 1.863 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.2779, allocations: 334.9 kB / 1.118 GB, free: 1.555 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.2779, allocations: 0 / 1.118 GB, free: 1.555 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.927e-05/0.2779, allocations: 19.92 kB / 1.118 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.2779, allocations: 8 kB / 1.119 GB, free: 1.527 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.278, allocations: 15.86 kB / 1.119 GB, free: 1.512 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.856e-05/0.2781, allocations: 35.83 kB / 1.119 GB, free: 1.477 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2781, allocations: 0 / 1.119 GB, free: 1.477 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2781, allocations: 0 / 1.119 GB, free: 1.477 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2781, allocations: 0 / 1.119 GB, free: 1.477 MB / 1.061 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.0003318/0.2784, allocations: 282.2 kB / 1.119 GB, free: 1.172 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.2784, allocations: 8.031 kB / 1.119 GB, free: 1.164 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.2785, allocations: 8.891 kB / 1.119 GB, free: 1.156 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2786, allocations: 114.4 kB / 1.119 GB, free: 1.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.2786, allocations: 384 / 1.119 GB, free: 1.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2786, allocations: 4.359 kB / 1.119 GB, free: 1.016 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.2787, allocations: 57.8 kB / 1.119 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2787, allocations: 0 / 1.119 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.2787, allocations: 0 / 1.119 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2787, allocations: 0 / 1.119 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.2788, allocations: 19.94 kB / 1.119 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.2791, allocations: 224.5 kB / 1.119 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.205e-05/0.2791, allocations: 18.58 kB / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.2792, allocations: 12.84 kB / 1.119 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.2792, allocations: 4.062 kB / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2792, allocations: 30.56 kB / 1.119 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.2792, allocations: 0 / 1.119 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.2793, allocations: 41.59 kB / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2794, allocations: 51.41 kB / 1.119 GB, free: 500 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2795, allocations: 141.8 kB / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2795, allocations: 25.7 kB / 1.12 GB, free: 316 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.2796, allocations: 116.1 kB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-06/0.2796, allocations: 0 / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.2796, allocations: 25.7 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2798, allocations: 318.8 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.2798, allocations: 8 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.2798, allocations: 19.98 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.671e-05/0.2799, allocations: 20.8 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2799, allocations: 0 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001156/0.28, allocations: 61.64 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.28, allocations: 4 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.28, allocations: 0 / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.28, allocations: 11.98 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.28, allocations: 0 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.28, allocations: 0 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.2801, allocations: 7.953 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2801, allocations: 0 / 1.12 GB, free: 15.7 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 7.713e-05/0.2801, allocations: 117.7 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.2802, allocations: 0 / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.2802, allocations: 15.45 kB / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2802, allocations: 0 / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2802, allocations: 0 / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-06/0.2802, allocations: 0 / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.2805, allocations: 314.3 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2805, allocations: 0 / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-06/0.2805, allocations: 4 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2805, allocations: 3.938 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.2805, allocations: 0 / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2805, allocations: 192 / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2805, allocations: 0 / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.981e-05/0.2806, allocations: 73 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.2806, allocations: 7.953 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.2806, allocations: 64 / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.2806, allocations: 4 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.2806, allocations: 3.938 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.2806, allocations: 0 / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.579e-05/0.2807, allocations: 114.1 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2807, allocations: 0 / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002025/0.2809, allocations: 12 kB / 1.121 GB, free: 14.98 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.0002517/0.2811, allocations: 137.2 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.2812, allocations: 19.92 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2812, allocations: 0 / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.2812, allocations: 8 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.2814, allocations: 6.594 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.2816, allocations: 116.8 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.002e-05/0.2816, allocations: 63.34 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.2817, allocations: 12.11 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.2817, allocations: 16.56 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.2817, allocations: 0 / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of Templates: time 0.002749/0.2844, allocations: 0.5458 MB / 1.122 GB, free: 14.02 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.7053620350779966]