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.001089/0.001089, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001802/0.002891, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00109/0.00109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002675, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9205/0.9205, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07893/0.9994, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.404/2.404, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2187/2.623, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.58e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00223/0.002255, allocations: 0.5935 MB / 0.8195 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.002636, allocations: 160 kB / 0.8196 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.002666, allocations: 0 / 0.8196 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.633e-06/0.002673, allocations: 0 / 0.8196 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.002797, allocations: 11.92 kB / 0.8196 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.589e-05/0.002883, allocations: 23.86 kB / 0.8197 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.284e-05/0.002966, allocations: 31.84 kB / 0.8197 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.003015, allocations: 0 / 0.8197 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.003088, allocations: 19.98 kB / 0.8197 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.003483, allocations: 340.1 kB / 0.82 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.003507, allocations: 8 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.003609, allocations: 19.92 kB / 0.8201 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.003631, allocations: 8 kB / 0.8201 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.003648, allocations: 7.938 kB / 0.8201 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003782, allocations: 35.84 kB / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.003797, allocations: 0 / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.223e-06/0.003798, allocations: 0 / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.003814, allocations: 0 / 0.8201 GB, free: 1.297 MB / 0.7917 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.000357/0.004171, allocations: 256.5 kB / 0.8204 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.004209, allocations: 8.031 kB / 0.8204 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.004249, allocations: 4.938 kB / 0.8204 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.004357, allocations: 129.7 kB / 0.8205 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.004369, allocations: 4.312 kB / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.004384, allocations: 4.375 kB / 0.8205 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.004483, allocations: 42.25 kB / 0.8205 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004491, allocations: 192 / 0.8205 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.004503, allocations: 8.109 kB / 0.8205 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.004509, allocations: 0 / 0.8205 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.004534, allocations: 12 kB / 0.8206 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.004812, allocations: 172.3 kB / 0.8207 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.004852, allocations: 18.52 kB / 0.8207 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.004868, allocations: 8.922 kB / 0.8207 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.004877, allocations: 7.938 kB / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.004902, allocations: 30.56 kB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.004904, allocations: 0 / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.005024, allocations: 33.69 kB / 0.8208 GB, free: 488 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.00506, allocations: 55.41 kB / 0.8209 GB, free: 420 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.005169, allocations: 142.5 kB / 0.821 GB, free: 264 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.005185, allocations: 25.7 kB / 0.821 GB, free: 232 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.005234, allocations: 96.08 kB / 0.8211 GB, free: 132 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-06/0.00524, allocations: 0 / 0.8211 GB, free: 132 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.005283, allocations: 25.78 kB / 0.8211 GB, free: 100 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.005401, allocations: 330.8 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.005419, allocations: 4 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.005434, allocations: 8 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.017e-05/0.005475, allocations: 20.84 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.005477, allocations: 0 / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.587e-05/0.005563, allocations: 53.61 kB / 0.8215 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.005578, allocations: 4 kB / 0.8215 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.005583, allocations: 3.938 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.005597, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.604e-05/0.005623, allocations: 4 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.005625, allocations: 4 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.005652, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.005662, allocations: 8 kB / 0.8216 GB, free: 15.65 MB / 0.8073 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 (cmp1,cmp2,cmp3,cmp4,cmp5,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 6.312e-05/0.005725, allocations: 109.8 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.005754, allocations: 11.92 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.005779, allocations: 3.469 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005781, allocations: 0 / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005782, allocations: 0 / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005785, allocations: 4.188 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.006021, allocations: 278.9 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006023, allocations: 4.031 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.006031, allocations: 4 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.006038, allocations: 3.953 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.00604, allocations: 0 / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-06/0.006044, allocations: 0 / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.006045, allocations: 0 / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006047, allocations: 0 / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.972e-05/0.006106, allocations: 65.06 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.006119, allocations: 4 kB / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.00613, allocations: 0 / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.006146, allocations: 0 / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.006148, allocations: 7.969 kB / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.006181, allocations: 27.31 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.006181, allocations: 0 / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001898/0.006371, allocations: 15.98 kB / 0.8221 GB, free: 15.06 MB / 0.8073 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.000327/0.006698, allocations: 128.2 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.98e-05/0.006778, allocations: 24.84 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.006784, allocations: 0 / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.006793, allocations: 4.859 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.88e-05/0.006882, allocations: 19.83 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.00711, allocations: 128.5 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.007143, allocations: 55.36 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.007175, allocations: 12.17 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.007212, allocations: 51.38 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of SimCode: time 6.52e-07/0.007213, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.002649/0.009862, allocations: 0.6684 MB / 0.8231 GB, free: 13.94 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146840241737664]