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.0008078/0.0008078, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007897/0.0007897, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 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.8821/0.8821, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 377.8 MB / 0.6228 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] 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.452e-06/1.452e-06, allocations: 0 / 0.9822 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.818e-05, allocations: 4.531 kB / 0.9822 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0009755/0.0009936, allocations: 0.5363 MB / 0.9827 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003216/0.001315, allocations: 152 kB / 0.9828 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.00134, allocations: 0 / 0.9828 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.001356, allocations: 3.938 kB / 0.9828 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.001543, allocations: 7.938 kB / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.646e-05/0.001589, allocations: 23.91 kB / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.001645, allocations: 23.92 kB / 0.9829 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.001688, allocations: 8 kB / 0.9829 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.001726, allocations: 23.91 kB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.002009, allocations: 323.1 kB / 0.9832 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.002024, allocations: 0 / 0.9832 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.002087, allocations: 15.94 kB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.0021, allocations: 15.91 kB / 0.9833 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.00212, allocations: 8 kB / 0.9833 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.922e-05/0.002219, allocations: 39.81 kB / 0.9833 GB, free: 1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002221, allocations: 0 / 0.9833 GB, free: 1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.001e-06/0.002222, allocations: 4 kB / 0.9833 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.002227, allocations: 4 kB / 0.9833 GB, free: 0.9922 MB / 0.9323 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.0002562/0.002483, allocations: 270.2 kB / 0.9836 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.00252, allocations: 11.98 kB / 0.9836 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.002551, allocations: 8.891 kB / 0.9836 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.66e-05/0.002628, allocations: 121.6 kB / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.002636, allocations: 384 / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.002647, allocations: 4.375 kB / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.002748, allocations: 46.23 kB / 0.9837 GB, free: 492 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.002756, allocations: 192 / 0.9837 GB, free: 492 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.002766, allocations: 8.125 kB / 0.9838 GB, free: 484 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.00277, allocations: 8 kB / 0.9838 GB, free: 476 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.002805, allocations: 12 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.00307, allocations: 224.5 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/0.003107, allocations: 26.44 kB / 0.984 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.003122, allocations: 8.922 kB / 0.984 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.003129, allocations: 3.984 kB / 0.984 GB, free: 156 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.003149, allocations: 34.56 kB / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.00315, allocations: 0 / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.003263, allocations: 41.64 kB / 0.9841 GB, free: 64 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.003291, allocations: 51.53 kB / 0.9841 GB, free: 0 / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.003378, allocations: 145.8 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.003387, allocations: 25.7 kB / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.003426, allocations: 96.08 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.003432, allocations: 3.953 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.00346, allocations: 29.64 kB / 0.9844 GB, free: 15.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.003533, allocations: 318.8 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.003552, allocations: 8 kB / 0.9847 GB, free: 15.35 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.003569, allocations: 11.98 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/0.003598, allocations: 20.98 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.003601, allocations: 3.938 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.391e-05/0.003675, allocations: 69.58 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.003687, allocations: 8 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.003691, allocations: 0 / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.003701, allocations: 0 / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.003718, allocations: 3.984 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.003723, allocations: 0 / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.003737, allocations: 4 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.003744, allocations: 4 kB / 0.9849 GB, free: 15.21 MB / 0.948 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 5.107e-05/0.003795, allocations: 121.7 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.003809, allocations: 7.953 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.623e-05/0.003825, allocations: 11.45 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.003827, allocations: 4 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.00383, allocations: 0 / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.003832, allocations: 0 / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.003995, allocations: 314.3 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003995, allocations: 0 / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-06/0.003997, allocations: 0 / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.003998, allocations: 0 / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.004004, allocations: 3.938 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.004005, allocations: 0 / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004005, allocations: 0 / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.313e-05/0.004048, allocations: 73.05 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-06/0.004053, allocations: 0 / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.004062, allocations: 4 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-06/0.004068, allocations: 0 / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.004087, allocations: 7.938 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.00409, allocations: 4.062 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.203e-05/0.004132, allocations: 105.8 kB / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004132, allocations: 0 / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001371/0.004269, allocations: 12 kB / 0.9855 GB, free: 14.5 MB / 0.948 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.0001971/0.004466, allocations: 129.5 kB / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.004539, allocations: 27.92 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.00454, allocations: 0 / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-06/0.004544, allocations: 0 / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.004649, allocations: 6.188 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.004836, allocations: 138.5 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.004878, allocations: 71.41 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.004899, allocations: 12.48 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.004899, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of Templates: time 0.001681/0.00658, allocations: 0.9681 MB / 0.9868 GB, free: 13.11 MB / 0.948 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: 6.920515977777541]