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.0007681/0.0007681, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009904/0.001758, allocations: 435.8 kB / 10.33 MB, free: 368 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.000764/0.000764, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009256/0.00169, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9443/0.9443, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09101/1.035, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.364/2.364, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3034/2.667, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.463e-06/1.463e-06, allocations: 0 / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.581e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001594/0.00163, allocations: 0.5907 MB / 0.8188 GB, free: 2.344 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.00193, allocations: 160 kB / 0.819 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.001952, allocations: 0 / 0.819 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.474e-06/0.001959, allocations: 3.938 kB / 0.819 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.002049, allocations: 7.938 kB / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.29e-05/0.002112, allocations: 35.83 kB / 0.819 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.002173, allocations: 15.94 kB / 0.8191 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.002217, allocations: 11.98 kB / 0.8191 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.002287, allocations: 31.84 kB / 0.8191 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.002614, allocations: 326.3 kB / 0.8194 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.002633, allocations: 0 / 0.8194 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.002747, allocations: 23.92 kB / 0.8194 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.00276, allocations: 3.938 kB / 0.8194 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.002778, allocations: 8 kB / 0.8194 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.002889, allocations: 27.86 kB / 0.8195 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.746e-05/0.002907, allocations: 0 / 0.8195 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.354e-06/0.002909, allocations: 4 kB / 0.8195 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.002934, allocations: 0 / 0.8195 GB, free: 1.715 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.0003675/0.003301, allocations: 256.5 kB / 0.8197 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.003338, allocations: 12.03 kB / 0.8197 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.003371, allocations: 4.922 kB / 0.8197 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/0.003468, allocations: 117.7 kB / 0.8198 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.00348, allocations: 384 / 0.8198 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.003492, allocations: 12.31 kB / 0.8199 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/0.003583, allocations: 42.23 kB / 0.8199 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.003592, allocations: 4.188 kB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.0036, allocations: 4.125 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003606, allocations: 4 kB / 0.8199 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.749e-05/0.003633, allocations: 12 kB / 0.8199 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.003903, allocations: 168.2 kB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.003947, allocations: 26.45 kB / 0.8201 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.00396, allocations: 4.859 kB / 0.8201 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.003969, allocations: 3.938 kB / 0.8201 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.003995, allocations: 38.69 kB / 0.8202 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.003997, allocations: 0 / 0.8202 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001045/0.004101, allocations: 33.69 kB / 0.8202 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.004137, allocations: 51.53 kB / 0.8202 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.004244, allocations: 153.5 kB / 0.8204 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.004256, allocations: 25.7 kB / 0.8204 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.004295, allocations: 92.03 kB / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.004307, allocations: 0 / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.00435, allocations: 33.64 kB / 0.8205 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.004455, allocations: 318.8 kB / 0.8208 GB, free: 188 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.004469, allocations: 4 kB / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.004483, allocations: 8 kB / 0.8208 GB, free: 176 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.004513, allocations: 12.84 kB / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.004515, allocations: 0 / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.349e-05/0.004599, allocations: 57.62 kB / 0.8209 GB, free: 96 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.004614, allocations: 8 kB / 0.8209 GB, free: 88 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.004621, allocations: 3.984 kB / 0.8209 GB, free: 84 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.004631, allocations: 0 / 0.8209 GB, free: 84 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.657e-05/0.004657, allocations: 7.938 kB / 0.8209 GB, free: 76 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.00466, allocations: 0 / 0.8209 GB, free: 76 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.004684, allocations: 0 / 0.8209 GB, free: 76 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.004692, allocations: 4 kB / 0.8209 GB, free: 72 kB / 0.7917 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 8.243e-05/0.004774, allocations: 109.8 kB / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.0048, allocations: 11.92 kB / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.00482, allocations: 3.469 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.004822, allocations: 4 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.004824, allocations: 192 / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.004829, allocations: 4 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.005066, allocations: 274.9 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.005068, allocations: 0 / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-06/0.005075, allocations: 0 / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.005086, allocations: 11.95 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.005089, allocations: 7.922 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.005093, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.005095, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.005097, allocations: 4.031 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.951e-05/0.005156, allocations: 61.06 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.005166, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/0.00518, allocations: 4 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.005196, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005198, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.005233, allocations: 32.77 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.6e-07/0.005233, allocations: 3.938 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001829/0.005416, allocations: 15.98 kB / 0.8215 GB, free: 15.47 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.000296/0.005712, allocations: 117.5 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.005793, allocations: 24.83 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.005801, allocations: 4 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.005808, allocations: 4.859 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.595e-05/0.005894, allocations: 15.84 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.006117, allocations: 123.9 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.006159, allocations: 67.34 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.006191, allocations: 8.125 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.006231, allocations: 55.38 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.006232, allocations: 0 / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.003012/0.009244, allocations: 0.674 MB / 0.8225 GB, free: 14.35 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2739641116932034]