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.001829/0.001829, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002172/0.002172, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.471/1.471, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.812/2.812, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.342e-06/1.342e-06, allocations: 0 / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.246e-05, allocations: 6.219 kB / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001426/0.001448, allocations: 0.5278 MB / 0.9819 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.001877, allocations: 156 kB / 0.9821 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.001908, allocations: 4 kB / 0.9821 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.001925, allocations: 0 / 0.9821 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.002115, allocations: 11.88 kB / 0.9821 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.105e-05/0.002186, allocations: 23.91 kB / 0.9821 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.002252, allocations: 23.92 kB / 0.9821 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.002303, allocations: 4 kB / 0.9821 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.002343, allocations: 15.92 kB / 0.9821 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.002751, allocations: 320.2 kB / 0.9824 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.002767, allocations: 8 kB / 0.9825 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.852e-05/0.002825, allocations: 15.94 kB / 0.9825 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.002849, allocations: 15.91 kB / 0.9825 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.002872, allocations: 12 kB / 0.9825 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.002979, allocations: 35.83 kB / 0.9825 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00298, allocations: 0 / 0.9825 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002981, allocations: 0 / 0.9825 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.002988, allocations: 0 / 0.9825 GB, free: 9.82 MB / 0.8887 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.0003318/0.00332, allocations: 274.2 kB / 0.9828 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.003354, allocations: 11.98 kB / 0.9828 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.003387, allocations: 12.89 kB / 0.9828 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.003509, allocations: 129.6 kB / 0.9829 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.00352, allocations: 4.375 kB / 0.9829 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.003534, allocations: 4.375 kB / 0.9829 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.003648, allocations: 46.23 kB / 0.983 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.003658, allocations: 192 / 0.983 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.00367, allocations: 4.125 kB / 0.983 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.003677, allocations: 4 kB / 0.983 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.221e-05/0.003729, allocations: 16 kB / 0.983 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.004049, allocations: 224.5 kB / 0.9832 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.659e-05/0.004096, allocations: 22.52 kB / 0.9832 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.004115, allocations: 16.91 kB / 0.9833 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.004124, allocations: 3.938 kB / 0.9833 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.004152, allocations: 30.56 kB / 0.9833 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.004153, allocations: 0 / 0.9833 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.004289, allocations: 41.64 kB / 0.9833 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.004325, allocations: 51.41 kB / 0.9834 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.004469, allocations: 145 kB / 0.9835 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.004485, allocations: 25.7 kB / 0.9835 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.004542, allocations: 96.08 kB / 0.9836 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.004546, allocations: 0 / 0.9836 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.004594, allocations: 33.78 kB / 0.9837 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.004737, allocations: 318.8 kB / 0.984 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.004763, allocations: 8 kB / 0.984 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.004788, allocations: 15.92 kB / 0.984 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.004829, allocations: 16.86 kB / 0.984 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.004833, allocations: 3.938 kB / 0.984 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001154/0.004948, allocations: 61.62 kB / 0.9841 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.00496, allocations: 4 kB / 0.9841 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.004964, allocations: 4 kB / 0.9841 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.004977, allocations: 3.984 kB / 0.9841 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/0.005006, allocations: 0 / 0.9841 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.00501, allocations: 4 kB / 0.9841 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.00504, allocations: 8.141 kB / 0.9841 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.005049, allocations: 4 kB / 0.9841 GB, free: 8.035 MB / 0.8887 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.963e-05/0.005139, allocations: 125.7 kB / 0.9842 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.005168, allocations: 3.953 kB / 0.9842 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.00519, allocations: 11.45 kB / 0.9842 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.005191, allocations: 0 / 0.9842 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.005193, allocations: 0 / 0.9842 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.005195, allocations: 0 / 0.9842 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.005467, allocations: 314.3 kB / 0.9845 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005468, allocations: 8.031 kB / 0.9845 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-06/0.005472, allocations: 0 / 0.9845 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005474, allocations: 0 / 0.9845 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.005479, allocations: 0 / 0.9845 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.00548, allocations: 0 / 0.9845 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.00548, allocations: 0 / 0.9845 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.28e-05/0.005563, allocations: 65 kB / 0.9846 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.005573, allocations: 7.953 kB / 0.9846 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.005584, allocations: 0 / 0.9846 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.005598, allocations: 0 / 0.9846 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.00562, allocations: 8.031 kB / 0.9846 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.005622, allocations: 4 kB / 0.9846 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 7.228e-05/0.005694, allocations: 103.2 kB / 0.9847 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.005694, allocations: 0 / 0.9847 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002062/0.0059, allocations: 16 kB / 0.9847 GB, free: 7.309 MB / 0.8887 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.000268/0.006169, allocations: 129.1 kB / 0.9849 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 9.075e-05/0.006259, allocations: 27.92 kB / 0.9849 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006261, allocations: 0 / 0.9849 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.006272, allocations: 7.938 kB / 0.9849 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.006412, allocations: 6.125 kB / 0.9849 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.00664, allocations: 116.8 kB / 0.985 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.054e-05/0.006701, allocations: 67.25 kB / 0.9851 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.00673, allocations: 12.11 kB / 0.9851 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.006754, allocations: 12.5 kB / 0.9851 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of SimCode: time 3.9e-07/0.006754, allocations: 4.062 kB / 0.9851 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of Templates: time 0.003045/0.009799, allocations: 0.5549 MB / 0.9857 GB, free: 6.34 MB / 0.8887 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/jenkins/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: 7.868751540780067]