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.001299/0.001299, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001427/0.001427, allocations: 214.4 kB / 23.04 MB, free: 4.867 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.259/3.259, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002093/0.002093, allocations: 73.09 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001841/0.3766, allocations: 0.5352 MB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005175/0.3771, allocations: 156.5 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.3772, allocations: 0 / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.3772, allocations: 3.938 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.3774, allocations: 11.94 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.942e-05/0.3775, allocations: 23.91 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.3775, allocations: 27.86 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.492e-05/0.3776, allocations: 7.984 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.3776, allocations: 11.94 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.3781, allocations: 333.8 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3781, allocations: 4 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.694e-05/0.3782, allocations: 12 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.3782, allocations: 3.984 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.3782, allocations: 19.86 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3783, allocations: 39.83 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3783, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3783, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3784, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 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.0003839/0.3787, allocations: 271.7 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3788, allocations: 19.92 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.3788, allocations: 8.891 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.379, allocations: 118.4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.379, allocations: 8.375 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.379, allocations: 384 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3791, allocations: 53.75 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3791, allocations: 3.984 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3791, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3792, allocations: 4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.3792, allocations: 23.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.3796, allocations: 216.6 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.3796, allocations: 22.52 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.3796, allocations: 8.859 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.3797, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3797, allocations: 34.62 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3797, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001606/0.3798, allocations: 41.64 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3799, allocations: 55.41 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.38, allocations: 139.6 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3801, allocations: 25.7 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.3801, allocations: 92.03 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.3801, allocations: 4.125 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.3802, allocations: 33.64 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3803, allocations: 322.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.3804, allocations: 12 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.3804, allocations: 11.92 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.3804, allocations: 16.86 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3804, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001225/0.3806, allocations: 65.64 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3806, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3806, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3806, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.3806, allocations: 11.94 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3806, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.3807, allocations: 3.953 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3807, allocations: 15.92 kB / 1.33 GB, free: 14.04 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.315e-05/0.3808, allocations: 109.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3808, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.3808, allocations: 11.47 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3808, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3808, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3808, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.3811, allocations: 318.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3811, allocations: 7.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.3811, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3811, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3811, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3811, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3811, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.697e-05/0.3812, allocations: 65.03 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.3812, allocations: 7.938 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.3812, allocations: 4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.3813, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.3813, allocations: 8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.3813, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.869e-05/0.3814, allocations: 103.3 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002064/0.3816, allocations: 11.94 kB / 1.33 GB, free: 13.32 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.000299/0.3819, allocations: 130.6 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.382, allocations: 27.92 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.382, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.382, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.3821, allocations: 8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.3824, allocations: 138.7 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.046e-05/0.3825, allocations: 74.69 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.3825, allocations: 15.44 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3825, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Templates: time 0.002917/0.3854, allocations: 0.9587 MB / 1.332 GB, free: 11.93 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.813353847013786]