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.001373/0.001373, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001527/0.001527, allocations: 214.9 kB / 22.99 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.433/3.433, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.002161/0.002161, allocations: 67.14 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3792, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001764/0.381, allocations: 0.5272 MB / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004916/0.3815, allocations: 152.5 kB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.3815, allocations: 0 / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.3815, allocations: 7.938 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.3817, allocations: 11.94 kB / 1.327 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.96e-05/0.3818, allocations: 27.91 kB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.3819, allocations: 23.86 kB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.3819, allocations: 7.984 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.382, allocations: 19.92 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.3824, allocations: 322.3 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3824, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.3824, allocations: 15.98 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.3825, allocations: 7.938 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.3825, allocations: 19.92 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3826, allocations: 39.72 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3826, allocations: 0 / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3826, allocations: 0 / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3826, allocations: 0 / 1.327 GB, free: 0.6797 MB / 1.014 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.0003828/0.383, allocations: 278.1 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.383, allocations: 11.98 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.3831, allocations: 8.891 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3832, allocations: 122.4 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3832, allocations: 4.375 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3832, allocations: 384 / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3834, allocations: 57.8 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3834, allocations: 0 / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3834, allocations: 0 / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3834, allocations: 0 / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.3835, allocations: 23.98 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.3838, allocations: 216.6 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.87e-05/0.3838, allocations: 22.52 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.3839, allocations: 4.859 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.3839, allocations: 4.062 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3839, allocations: 30.56 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.3839, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.3841, allocations: 41.66 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.3841, allocations: 55.34 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3842, allocations: 141.8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3842, allocations: 25.7 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.3843, allocations: 96.03 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/0.3843, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.3844, allocations: 25.7 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3845, allocations: 326.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.3845, allocations: 8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.3846, allocations: 16.12 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.3846, allocations: 20.84 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3846, allocations: 3.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001158/0.3847, allocations: 61.64 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3847, allocations: 5.406 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-06/0.3847, allocations: 3.938 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3848, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.921e-05/0.3848, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3848, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.3848, allocations: 7.953 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3848, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 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 8.896e-05/0.3849, allocations: 125.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3849, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.385, allocations: 11.47 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.385, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.385, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.385, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.3852, allocations: 314.2 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3852, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-06/0.3852, allocations: 4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3852, allocations: 3.984 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3853, allocations: 4.031 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3853, allocations: 192 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3853, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.3854, allocations: 65.08 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.3854, allocations: 7.953 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.3854, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.3854, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.3854, allocations: 7.922 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.3854, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.193e-05/0.3855, allocations: 108.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3855, allocations: 32 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002097/0.3857, allocations: 19.94 kB / 1.33 GB, free: 14.17 MB / 1.029 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.0002729/0.386, allocations: 122.9 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.611e-05/0.3861, allocations: 16 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3861, allocations: 3.938 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.3861, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3862, allocations: 12.05 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.3865, allocations: 138.6 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.3865, allocations: 79.11 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.3866, allocations: 11.44 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3866, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of Templates: time 0.002674/0.3892, allocations: 0.9628 MB / 1.331 GB, free: 12.78 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 11.784511343110353]