Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.057 GB, free: 2.031 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 160.7 MB / 1.214 GB, free: 1.004 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001819/0.3393, allocations: 0.5386 MB / 1.215 GB, free: 472 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.3398, allocations: 152.1 kB / 1.215 GB, free: 316 kB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.3399, allocations: 0 / 1.215 GB, free: 316 kB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3399, allocations: 7.938 kB / 1.215 GB, free: 308 kB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.3401, allocations: 7.938 kB / 1.215 GB, free: 300 kB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 6.957e-05/0.3402, allocations: 23.92 kB / 1.215 GB, free: 276 kB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.3402, allocations: 23.97 kB / 1.215 GB, free: 252 kB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.3403, allocations: 3.938 kB / 1.215 GB, free: 248 kB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.3403, allocations: 15.92 kB / 1.215 GB, free: 232 kB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004604/0.3408, allocations: 333 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3408, allocations: 4 kB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.568e-05/0.3409, allocations: 16 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.3409, allocations: 8 kB / 1.215 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.3409, allocations: 19.86 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.341, allocations: 39.77 kB / 1.215 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.341, allocations: 0 / 1.215 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.341, allocations: 0 / 1.215 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.341, allocations: 0 / 1.215 GB, free: 15.84 MB / 0.9669 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.0004404/0.3415, allocations: 351.2 kB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3415, allocations: 8.031 kB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.3416, allocations: 8.891 kB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3417, allocations: 172.3 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3417, allocations: 8.375 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.3418, allocations: 4.375 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3419, allocations: 49.8 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3419, allocations: 0 / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3419, allocations: 3.938 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3419, allocations: 4 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.342, allocations: 15.98 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.3424, allocations: 276.9 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.3424, allocations: 22.52 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.3424, allocations: 8.844 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3424, allocations: 4.062 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3425, allocations: 34.5 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3425, allocations: 0 / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001593/0.3426, allocations: 37.7 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3427, allocations: 51.53 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3428, allocations: 144.5 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3428, allocations: 25.7 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3429, allocations: 92.08 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.3429, allocations: 4 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.3429, allocations: 29.66 kB / 1.216 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3431, allocations: 318.8 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.3431, allocations: 15.94 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.3431, allocations: 11.98 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.3432, allocations: 24.8 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3432, allocations: 0 / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001102/0.3433, allocations: 61.69 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3433, allocations: 4 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3433, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3433, allocations: 3.984 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-05/0.3434, allocations: 4 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3434, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.3434, allocations: 7.891 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3434, allocations: 11.94 kB / 1.217 GB, free: 13.84 MB / 0.9669 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 9.038e-05/0.3435, allocations: 113.8 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.3435, allocations: 4 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.3436, allocations: 11.52 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3436, allocations: 0 / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3436, allocations: 0 / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3436, allocations: 4 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.3439, allocations: 358.7 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3439, allocations: 8.016 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-06/0.3439, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3439, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3439, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3439, allocations: 4.125 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3439, allocations: 3.984 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.181e-05/0.344, allocations: 65.08 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.344, allocations: 81.06 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.344, allocations: 12.02 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/0.3441, allocations: 3.938 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.3441, allocations: 3.938 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.3441, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.272e-05/0.3442, allocations: 103.3 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3442, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001996/0.3444, allocations: 11.94 kB / 1.218 GB, free: 12.95 MB / 0.9669 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.0003153/0.3447, allocations: 129.8 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.3448, allocations: 23.92 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3448, allocations: 0 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-06/0.3448, allocations: 4 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3449, allocations: 4 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.3452, allocations: 142.6 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3455, allocations: 0.6807 MB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.3456, allocations: 15.44 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3456, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of Templates: time 0.002938/0.3485, allocations: 0.9612 MB / 1.22 GB, free: 10.95 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.076492571039125]