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.000961/0.000961, allocations: 84.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.0009267/0.0009267, allocations: 161.4 kB / 24.16 MB, free: 336 kB / 18.57 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.9141/0.9141, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.827/1.827, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.411e-05, allocations: 6.25 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0009876/0.001002, allocations: 0.5557 MB / 0.7605 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.00129, allocations: 152 kB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.001312, allocations: 1.125 kB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.001325, allocations: 3.938 kB / 0.7607 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.001493, allocations: 17.34 kB / 0.7607 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.043e-05/0.001544, allocations: 21.55 kB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.001594, allocations: 28.67 kB / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.118e-05/0.001626, allocations: 4.766 kB / 0.7607 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.001658, allocations: 14.19 kB / 0.7607 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.001886, allocations: 328.2 kB / 0.7611 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.0019, allocations: 4 kB / 0.7611 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.001944, allocations: 12 kB / 0.7611 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.001958, allocations: 15.66 kB / 0.7611 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.319e-05/0.001972, allocations: 10.23 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.827e-05/0.00205, allocations: 38.41 kB / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002052, allocations: 0 / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002053, allocations: 0 / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.002055, allocations: 1.469 kB / 0.7611 GB, free: 5.562 MB / 0.7136 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.0001947/0.00225, allocations: 248.8 kB / 0.7614 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.002278, allocations: 12.64 kB / 0.7614 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.0023, allocations: 12.92 kB / 0.7614 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.785e-05/0.002368, allocations: 111 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.002378, allocations: 4.375 kB / 0.7615 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.002387, allocations: 384 / 0.7615 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.192e-05/0.002459, allocations: 55.41 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.002465, allocations: 1.391 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.002472, allocations: 4.125 kB / 0.7616 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.002478, allocations: 4.531 kB / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.446e-05/0.002492, allocations: 4 kB / 0.7616 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.002668, allocations: 172.8 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.641e-05/0.002695, allocations: 19.11 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-06/0.002704, allocations: 14.33 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.002714, allocations: 3.938 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.002731, allocations: 30.56 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.002732, allocations: 0 / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.182e-05/0.002804, allocations: 38.81 kB / 0.7618 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.002832, allocations: 52.28 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.002907, allocations: 146.6 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.002915, allocations: 25.7 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.002944, allocations: 96.02 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.002948, allocations: 3.984 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.002976, allocations: 26.41 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.003044, allocations: 318.8 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.003054, allocations: 13.56 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.003064, allocations: 8.109 kB / 0.7625 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.003085, allocations: 17.61 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003086, allocations: 0 / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 4.687e-05/0.003133, allocations: 55.8 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.003142, allocations: 4 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.003146, allocations: 0 / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.003158, allocations: 4 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.424e-05/0.003172, allocations: 5.141 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.003174, allocations: 0 / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.003189, allocations: 4.656 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.003195, allocations: 4 kB / 0.7626 GB, free: 3.938 MB / 0.7136 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 4.338e-05/0.003238, allocations: 106.5 kB / 0.7627 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.003252, allocations: 14.83 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.003267, allocations: 7.469 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.003269, allocations: 4 kB / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.00327, allocations: 0 / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.003272, allocations: 0 / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.003415, allocations: 266.9 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.003416, allocations: 0.6562 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.003418, allocations: 7.062 kB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.003419, allocations: 0 / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-06/0.003422, allocations: 0 / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.003422, allocations: 0 / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.003423, allocations: 0 / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.772e-05/0.003461, allocations: 69 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.003466, allocations: 7.953 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-06/0.003474, allocations: 4.062 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-06/0.00348, allocations: 1.812 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.003493, allocations: 0 / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.003494, allocations: 0 / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.859e-05/0.003512, allocations: 28.83 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.003512, allocations: 0 / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001028/0.003615, allocations: 19.14 kB / 0.7631 GB, free: 3.359 MB / 0.7136 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.0001831/0.003798, allocations: 114.6 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.96e-05/0.003848, allocations: 24.77 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.003852, allocations: 6.781 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.003858, allocations: 4.859 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.627e-05/0.003904, allocations: 7.938 kB / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001374/0.004041, allocations: 122 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.307e-05/0.004064, allocations: 59.34 kB / 0.7634 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.004082, allocations: 8.125 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.004108, allocations: 52.94 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.004108, allocations: 0 / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of Templates: time 0.001732/0.00584, allocations: 0.6545 MB / 0.7641 GB, free: 2.309 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.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: 4.834737186785787]