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.00159/0.00159, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001714/0.001714, allocations: 161.6 kB / 23.01 MB, free: 4.945 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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 2.859/2.859, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.002132/0.002132, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7527, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001491/0.7542, allocations: 0.5433 MB / 1.187 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000367/0.7546, allocations: 153.7 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.7546, allocations: 0 / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.7546, allocations: 3.938 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.7548, allocations: 12.17 kB / 1.187 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.999e-05/0.7549, allocations: 28.27 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.7549, allocations: 23.7 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.755, allocations: 9.234 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.755, allocations: 16.23 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.7553, allocations: 336.5 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.7554, allocations: 2.75 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.7554, allocations: 13.61 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.7554, allocations: 8 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.7555, allocations: 15.94 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.375e-05/0.7555, allocations: 35.98 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7555, allocations: 0 / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7555, allocations: 4.516 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.7556, allocations: 0 / 1.188 GB, free: 15.57 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.0002417/0.7558, allocations: 271.5 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.7558, allocations: 12.2 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.7559, allocations: 3.688 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.7559, allocations: 119.7 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.7559, allocations: 1.75 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.756, allocations: 11.81 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.7561, allocations: 49.88 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7561, allocations: 0 / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.7561, allocations: 1.375 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.7561, allocations: 4 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.7561, allocations: 16.16 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.7564, allocations: 239.7 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.686e-05/0.7564, allocations: 21.92 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.192e-05/0.7564, allocations: 6.234 kB / 1.188 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.7564, allocations: 0 / 1.188 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.062e-05/0.7564, allocations: 32.55 kB / 1.188 GB, free: 14.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.7565, allocations: 0 / 1.188 GB, free: 14.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.7566, allocations: 34.08 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.7566, allocations: 56.91 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.7567, allocations: 149.7 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.7567, allocations: 25.7 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.7567, allocations: 93.48 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/0.7567, allocations: 8.453 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.7567, allocations: 25.02 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.7568, allocations: 323.8 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.7568, allocations: 6.812 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.235e-05/0.7568, allocations: 12.38 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.7569, allocations: 17.94 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7569, allocations: 0 / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.607e-05/0.757, allocations: 67.95 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.757, allocations: 5.812 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.757, allocations: 0.6562 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.757, allocations: 0.7812 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.979e-05/0.757, allocations: 6.531 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.757, allocations: 0.7031 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.757, allocations: 2.188 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.757, allocations: 2.922 kB / 1.189 GB, free: 14.04 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.762e-05/0.7571, allocations: 116.8 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.7571, allocations: 6.203 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.7571, allocations: 10.59 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7571, allocations: 1 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7571, allocations: 0.5625 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.7571, allocations: 0 / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.7573, allocations: 324.1 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7573, allocations: 1.281 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.7573, allocations: 4 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7573, allocations: 5.656 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.7573, allocations: 0 / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.7573, allocations: 1.125 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7573, allocations: 0.6562 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.771e-05/0.7573, allocations: 67.78 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.7574, allocations: 1.766 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.7574, allocations: 1.844 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.7574, allocations: 4 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.7574, allocations: 10.44 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.7574, allocations: 1.375 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.7575, allocations: 98.91 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7575, allocations: 0 / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002028/0.7577, allocations: 13.97 kB / 1.19 GB, free: 13.39 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.0002147/0.7579, allocations: 124.4 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.713e-05/0.758, allocations: 18.91 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.758, allocations: 0 / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.758, allocations: 2.125 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.7581, allocations: 4.859 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001574/0.7583, allocations: 110.7 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.398e-05/0.7583, allocations: 77.98 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.7583, allocations: 9.359 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.7583, allocations: 10.88 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.7583, allocations: 0 / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of Templates: time 0.0027/0.761, allocations: 0.5565 MB / 1.191 GB, free: 12.96 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.358971176901832]