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.001869/0.001869, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001486/0.001486, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.146/3.146, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.382e-06/1.382e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.67e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001559/0.001586, allocations: 0.5406 MB / 0.8781 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.002052, allocations: 156.5 kB / 0.8782 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.002082, allocations: 1.656 kB / 0.8782 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.002097, allocations: 3.938 kB / 0.8782 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.002289, allocations: 9.969 kB / 0.8782 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.576e-05/0.002364, allocations: 23.91 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.002427, allocations: 21.67 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.002465, allocations: 4.531 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.002508, allocations: 21.27 kB / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.002941, allocations: 327.9 kB / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.002957, allocations: 0 / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.449e-05/0.003021, allocations: 16.56 kB / 0.8786 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.003041, allocations: 16.56 kB / 0.8787 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.003067, allocations: 8 kB / 0.8787 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003178, allocations: 40.42 kB / 0.8787 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.003182, allocations: 4 kB / 0.8787 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003183, allocations: 1.594 kB / 0.8787 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003186, allocations: 0 / 0.8787 GB, free: 5.387 MB / 0.8386 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.000367/0.003553, allocations: 270.2 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.003591, allocations: 8.031 kB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.003642, allocations: 10.61 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.00378, allocations: 121.7 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.003795, allocations: 4.375 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.003804, allocations: 384 / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.003939, allocations: 54.17 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003947, allocations: 3.031 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.003962, allocations: 8.125 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003966, allocations: 0 / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.004019, allocations: 16 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.004371, allocations: 212.6 kB / 0.8794 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.004506, allocations: 22.52 kB / 0.8794 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.004529, allocations: 8.844 kB / 0.8794 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.004537, allocations: 4.656 kB / 0.8794 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.004577, allocations: 42.56 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.004578, allocations: 1.656 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001718/0.00475, allocations: 41.66 kB / 0.8795 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.004795, allocations: 51.41 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.004947, allocations: 146.2 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.004968, allocations: 25.7 kB / 0.8797 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.005034, allocations: 96.08 kB / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.005038, allocations: 0 / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.005087, allocations: 29.83 kB / 0.8798 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.005258, allocations: 314.8 kB / 0.8801 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.005291, allocations: 15.98 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.005312, allocations: 7.938 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.005355, allocations: 16.86 kB / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.005359, allocations: 3.938 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001333/0.005493, allocations: 69.77 kB / 0.8802 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.005507, allocations: 4 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.005512, allocations: 7.984 kB / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.00553, allocations: 0 / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.172e-05/0.005551, allocations: 4 kB / 0.8803 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.005556, allocations: 7.938 kB / 0.8803 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.005601, allocations: 7.953 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.005609, allocations: 0 / 0.8803 GB, free: 3.621 MB / 0.8386 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 9.329e-05/0.005702, allocations: 117.7 kB / 0.8804 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.005733, allocations: 7.984 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.005754, allocations: 11.45 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005755, allocations: 0 / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.005759, allocations: 0 / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.00576, allocations: 0 / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.006075, allocations: 314.3 kB / 0.8807 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006076, allocations: 4.031 kB / 0.8807 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-06/0.006083, allocations: 3.938 kB / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006085, allocations: 0 / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.00609, allocations: 0 / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006091, allocations: 0 / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.006091, allocations: 0 / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.995e-05/0.006181, allocations: 65.06 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-06/0.00619, allocations: 11.89 kB / 0.8808 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.006203, allocations: 0 / 0.8808 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.006217, allocations: 0 / 0.8808 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.006238, allocations: 4.031 kB / 0.8808 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.00624, allocations: 4 kB / 0.8808 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.83e-05/0.006328, allocations: 107.2 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006328, allocations: 0 / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002191/0.006547, allocations: 8 kB / 0.8809 GB, free: 2.91 MB / 0.8386 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.0003007/0.006848, allocations: 118.5 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.006951, allocations: 35.86 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.006953, allocations: 0 / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.006963, allocations: 4 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.007114, allocations: 4 kB / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.007361, allocations: 113.4 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.891e-05/0.00743, allocations: 67.2 kB / 0.8812 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.566e-05/0.007475, allocations: 11.98 kB / 0.8812 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.007503, allocations: 8.5 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/0.007503, allocations: 64 / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of Templates: time 0.003372/0.01087, allocations: 0.5858 MB / 0.8818 GB, free: 1.926 MB / 0.8386 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.085565407993272]